Facebook and memcached - Tech Talk

  Рет қаралды 235,626

Meta Developers

Meta Developers

Күн бұрын

Пікірлер
@magnatron1086
@magnatron1086 7 жыл бұрын
To those people complaining that this is not a great presentation - I would rather listen to somebody who really knows what he's talking about, and is enthusiastic about it, than listen to somebody who is a "professional presenter". I''m no fan of Facebook, but we should all be grateful when we get to listen to someone who is an expert in their field giving us the benefit of their experience.
@c_spoons
@c_spoons 6 жыл бұрын
Agreed. I work at a small startup, so when he says things like "It's unacceptable to have a 2ms latency between the servers and datacenters", it's just like...whoa...
@vimanyuaggarwal1420
@vimanyuaggarwal1420 5 жыл бұрын
Agree 10/10! It was indeed a great talk offering so much to learn! The sheer & genuine enthusiasm of Mark is truly inspiring :)
@ryantran1180
@ryantran1180 3 жыл бұрын
Paying my respects to Zucc here, he does a good job at explaining memcache.
@LydellAaron
@LydellAaron 4 жыл бұрын
This talk really underscores the importance of optimization. I like how they got into the guts of the servers (such as network drivers) in order to make more efficient use of memory and processor use. Also, the switch from TCP to UDP made a lot of sense.
@move1649
@move1649 4 жыл бұрын
indeed, it's still supporting the TCP connection though client has the choice
@MPXVM
@MPXVM 4 жыл бұрын
Video from 2008, uploaded in 2013, watching in 2020. KZbin algorithm, unresolved mystery ...
@illyam689
@illyam689 3 жыл бұрын
*2021
@alcides_dev_br
@alcides_dev_br 7 ай бұрын
2024
@PhillyHank
@PhillyHank 4 ай бұрын
August 2024
@xMario10
@xMario10 12 күн бұрын
late 2024
@andrewpagan
@andrewpagan 4 жыл бұрын
Holy. Just having the string length instead of doing `string.length` saved so much money. It's crazy to think at the scale that Facebook has, having one duplicate line could cost millions of dollars in time over it's lifetime.
@JakeWildsJaxFL
@JakeWildsJaxFL 3 жыл бұрын
The video cuts off right when it gets to the really good stuff!
@thejahbroda
@thejahbroda Ай бұрын
Watching this 11 yrs later. Been using memcached for a while, in my quest to know the brains behind this i came across this video
@lukenava8231
@lukenava8231 2 жыл бұрын
Zucc is so much more personable when he isn't trying to be personable. A nerd in their element is so endearing
@akompsupport
@akompsupport 11 жыл бұрын
I think it's awesome that andrew WK party hard breaks in at 14:47
@iainelder7607
@iainelder7607 10 жыл бұрын
Many folk seem to reckon powers of 2 are wasteful. Java's ArrayList grows by powers of 1.5. SQL Server grows database files by powers of 1.1. These are general purpose algorithms. In your case powers of 2 might be the right thing. Understand your data and test accordingly!
@rodrigueskorn
@rodrigueskorn 6 жыл бұрын
What is called this kind of knowledge?
@dhrubanka6197
@dhrubanka6197 3 жыл бұрын
@@rodrigueskorn computer science
@_sudipidus_
@_sudipidus_ 6 жыл бұрын
11:16 and that brought about the largest ddos attack years later for github
@RAULGARCIAYunqeExplorer
@RAULGARCIAYunqeExplorer 3 жыл бұрын
Nice work on the interplay of coding/design decisions and real expenses at long term and large scales
@GILLOS21
@GILLOS21 4 жыл бұрын
Anyone have a link to the rest of the lecture?
@SeamusMcMichael
@SeamusMcMichael 3 жыл бұрын
This is an interesting video. Mark explains this well, without being too technical.
@sunnykgupta
@sunnykgupta 8 жыл бұрын
8:07 are these the right slides??? :P
@helsontaveras7961
@helsontaveras7961 8 жыл бұрын
14:45 ...?
@thyagtubes
@thyagtubes 7 жыл бұрын
For a moment, it seemed like a scene from Inception
@bonniwanamaker6296
@bonniwanamaker6296 5 жыл бұрын
@@thyagtubes LOL yes what what was that.
@A.K.00
@A.K.00 5 жыл бұрын
lmao
@JamesDarby7
@JamesDarby7 3 жыл бұрын
Glitch in the matrix
@DawidSpiechowicz
@DawidSpiechowicz 11 жыл бұрын
Who stole the rest of the video? ;-)
@Potenti4lz
@Potenti4lz 10 жыл бұрын
KZbin must have ate it all up for breakfast :(
@ShmeelZarnuk
@ShmeelZarnuk 7 жыл бұрын
UDP missed packets
@Exevium
@Exevium 7 жыл бұрын
That's what you get if you don't say ACK.
@dvlduvall
@dvlduvall 4 жыл бұрын
Yeah, the majority of the interrupts go to processor 0, the possible optimization is to deliver the interrupts to each core and let threads with hard affinity handle each interrupt. You can do it if the server is owned by one process.
@Bruh-jw2ze
@Bruh-jw2ze 4 жыл бұрын
Why tf are you winlking
@ankitasinha7892
@ankitasinha7892 7 жыл бұрын
Mark Zuckerberg is great at explaining complex things so simply.
@EhSUN37
@EhSUN37 6 жыл бұрын
what is memcash? how does it work exactly? What are the memcash problems ? How did they solve it? If you think he explained it well. stfu then. he was talking and barging about facebook teamwork nothing more nothing about tech
@Play_Streams
@Play_Streams 7 жыл бұрын
Very good presentation
@freezefrancis
@freezefrancis 3 жыл бұрын
watching this 8 years later.
@waterboygeorge
@waterboygeorge 9 жыл бұрын
Do they still use memcached? What does their current stack look like?
@alokcom
@alokcom 4 жыл бұрын
Is there kernel patch for making slab allocation from power of 2 to 1.3 ?
@MetaDevelopers
@MetaDevelopers 4 жыл бұрын
Hi, we recommend joining and posting in the Developer Community Forum for assistance: tinyurl.com/y6g8l2e5
@travbrack
@travbrack 6 жыл бұрын
Daddy Zuck talking about memcache - omgz
@indavarapuaneesh2871
@indavarapuaneesh2871 3 жыл бұрын
World really missed an brilliant engineer
@labjujube
@labjujube 2 жыл бұрын
Good presentation that I can keep watching
@Mike-ci5io
@Mike-ci5io 2 жыл бұрын
Did he write memcahce or did he just deploy it on FB? because thats a big difference
@wangwu9299
@wangwu9299 3 жыл бұрын
when is last time Z presented a tech talk?
@glxs9539
@glxs9539 6 жыл бұрын
where is the rest?
@subramanyammalepati8655
@subramanyammalepati8655 3 жыл бұрын
awesome in depth understanding
@slothsarecool
@slothsarecool 10 жыл бұрын
Iterate really fast, build really bad UI / UX... woot..
@Exevium
@Exevium 7 жыл бұрын
Basically: build buggy software, and fix only what people complain about. Not bad for a student, terrible for a large company.
@buttegowda
@buttegowda 6 жыл бұрын
Superb sir
@digitalwasiabbas
@digitalwasiabbas 8 жыл бұрын
why facebook didnt switched to some other technology?
@code_with_om
@code_with_om 6 жыл бұрын
because the scale at which they are working changing the technology could break many things I guess.
@tusharmaurya1668
@tusharmaurya1668 3 жыл бұрын
so basically he made redis for facebook?
@vaishakm6
@vaishakm6 2 жыл бұрын
memcached isnt by facebook and its older than Redis and during the making of this video,Redis wasnt there if I am not wrong
@mucholangs
@mucholangs 2 жыл бұрын
@@vaishakm6 You're right. Redis released 2009 Memcached - 2003
@cocacokautube
@cocacokautube 9 жыл бұрын
it is not finished
@dudyorz
@dudyorz 2 жыл бұрын
Am I the only one that keeps scrolling up?
@potatopilot6081
@potatopilot6081 3 жыл бұрын
Good morning sir!
@Ballberyn
@Ballberyn 4 жыл бұрын
Hey great vid....I need some help here.The 'Gaming' tab has replaced my 'Friends' tab on my Facebook account... Is there a way to reverse this? I'm on a desktop PC ...Please note, You wont see it on your account once it is functioning properly ... But on my account on the area at the top of the page where there is usually : Home, Friends, Watch, Marketplace ,Groups etc, I am seeing 'Gaming' instead of 'Friends'...But not on all the Facebook accounts (For example:- if I log into my wife's account its fine and as it should be)...I also noticed, my new friend request has severely throttled down as a result; my account is set so everyone can send me a request...About two weeks ago it reverted just for a moment an the friend request bumped back up...but sadly was short lived...tried several attempts to contact Facebook and the Community for help...but nothing so far . Your help is appreciated.
@AnjanKumarhere
@AnjanKumarhere 3 жыл бұрын
Thanks yt algorithm
@apdy27
@apdy27 3 жыл бұрын
and it saved millions of dollars!
@jsss-s6v
@jsss-s6v 5 жыл бұрын
Just google everyone's name in this video...
@tanveerhasan2382
@tanveerhasan2382 3 жыл бұрын
Why?
@xTriad
@xTriad 10 жыл бұрын
2 -> 1.3
@DropsyDugo
@DropsyDugo 10 жыл бұрын
facebook, why memcahe and not redis?
@PankajKumar-ov8wg
@PankajKumar-ov8wg 8 жыл бұрын
+DropsyDugo Memcache is efficient if you are working just with strings. Redis is helpful, if your keys/values are other data structures, like lists, sets etc. I think, as in Facebook, majority of the data (posts, comments, links, pictures) are strings (or can be serialized/de-serialized into string), they went for Memcached. Also, Mark says, they implemented memcache in 2005 (or at least got inspired from Live Journal). Redis, on the other hand, was created in 2009.
@daveojika7623
@daveojika7623 8 жыл бұрын
+Pankaj Kumar it's been one year! Thanks for the answer :) )
@antonop100
@antonop100 5 жыл бұрын
Redis launched in 2009, this video is from 2008...
@xtheory9640
@xtheory9640 3 жыл бұрын
just love zuck❤
@techteja7451
@techteja7451 7 жыл бұрын
This is the most lame presentation I have recently watched
@Jpk45
@Jpk45 5 жыл бұрын
Fuck you error 505
@MichaelGuy
@MichaelGuy 4 жыл бұрын
It will always be a rip off of myspace
@sirmagid2962
@sirmagid2962 6 жыл бұрын
Just say is not good
NSDI '13 - Scaling Memcache at Facebook
23:18
USENIX
Рет қаралды 13 М.
Mark Zuckerberg at Startup School 2012
32:18
Y Combinator
Рет қаралды 624 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Scaling Push Messaging for Millions of Devices @Netflix
49:10
Mark Zuckerberg & Yuval Noah Harari in Conversation
1:33:31
Yuval Noah Harari
Рет қаралды 2,9 МЛН
Top Tips for Terrible Tech Talks by Chet Haase
53:39
Android Dialogs
Рет қаралды 13 М.
Large-Scale Low-Latency Storage for the Social Network - Data@Scale
26:15
Scaling Facebook Live Videos to a Billion Users
51:31
InfoQ
Рет қаралды 92 М.
Mark Zuckerberg at Startup School 2013
36:23
Y Combinator
Рет қаралды 859 М.
steve jobs most innovative speech
20:19
love hate
Рет қаралды 811 М.
Scaling Redis at Twitter
1:14:51
Rackspace Developers
Рет қаралды 100 М.