In this video from 2008, Mark Zuckerberg, CEO at Facebook, talks about how the company uses memcached for caching and storage performance.
КОМЕНТАРІ: 80
@magnatron10866 років тому
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_spoons5 років тому
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...
@vimanyuaggarwal14205 років тому
Agree 10/10! It was indeed a great talk offering so much to learn! The sheer & genuine enthusiasm of Mark is truly inspiring :)
@ryantran11803 роки тому
Paying my respects to Zucc here, he does a good job at explaining memcache.
@MPXVM3 роки тому
Video from 2008, uploaded in 2013, watching in 2020. UKposts algorithm, unresolved mystery ...
@illyam6893 роки тому
*2021
@LydellAaron4 роки тому
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.
@move16493 роки тому
indeed, it's still supporting the TCP connection though client has the choice
@RAULGARCIAYunqeExplorer3 роки тому
Nice work on the interplay of coding/design decisions and real expenses at long term and large scales
@muffdriver697 років тому
I like how Mark explained his lecture. So easy to understand. I've had problems with other lectureres, they just didn't explain it well. But he did very well.
@andrewpagan3 роки тому
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.
@JakeWildsJaxFL2 роки тому
The video cuts off right when it gets to the really good stuff!
@SeamusMcMichael2 роки тому
This is an interesting video. Mark explains this well, without being too technical.
@akompsupport10 років тому
I think it's awesome that andrew WK party hard breaks in at 14:47
@GILLOS213 роки тому
Anyone have a link to the rest of the lecture?
@Play_Streams6 років тому
Very good presentation
@alokcom3 роки тому
Is there kernel patch for making slab allocation from power of 2 to 1.3 ?
@MetaDevelopers3 роки тому
Hi, we recommend joining and posting in the Developer Community Forum for assistance: tinyurl.com/y6g8l2e5
@sunnykgupta7 років тому
8:07 are these the right slides??? :P
@labjujube2 роки тому
Good presentation that I can keep watching
@waterboygeorge8 років тому
Do they still use memcached? What does their current stack look like?
@_sudipidus_6 років тому
11:16 and that brought about the largest ddos attack years later for github
@glxs95395 років тому
where is the rest?
@Mike-ci5io2 роки тому
Did he write memcahce or did he just deploy it on FB? because thats a big difference
@buttegowda5 років тому
Superb sir
@iainelder760710 років тому
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!
@rodrigueskorn5 років тому
What is called this kind of knowledge?
@dhrubanka61972 роки тому
@@rodrigueskorn computer science
@subramanyammalepati86553 роки тому
awesome in depth understanding
@lukenava8231Рік тому
Zucc is so much more personable when he isn't trying to be personable. A nerd in their element is so endearing
@travbrack5 років тому
Daddy Zuck talking about memcache - omgz
@freezefrancis2 роки тому
watching this 8 years later.
@ankitasinha78926 років тому
Mark Zuckerberg is great at explaining complex things so simply.
@EhSUN375 років тому
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
@indavarapuaneesh28712 роки тому
World really missed an brilliant engineer
@DawidSpiechowicz10 років тому
Who stole the rest of the video? ;-)
@Potenti4lz9 років тому
UKposts must have ate it all up for breakfast :(
@itolevy6 років тому
UDP missed packets
@Exevium6 років тому
That's what you get if you don't say ACK.
@dvlduvall3 роки тому
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-jw2ze3 роки тому
Why tf are you winlking
@helsontaveras79617 років тому
14:45 ...?
@thyagtubes7 років тому
For a moment, it seemed like a scene from Inception
@bonniwanamaker62965 років тому
@@thyagtubes LOL yes what what was that.
@A.K.005 років тому
lmao
@JamesDarby73 роки тому
Glitch in the matrix
@wangwu92992 роки тому
when is last time Z presented a tech talk?
@cocacokautube8 років тому
it is not finished
@potatopilot60812 роки тому
Good morning sir!
@AnjanKumarhere3 роки тому
Thanks yt algorithm
@tusharmaurya16682 роки тому
so basically he made redis for facebook?
@vaishakm62 роки тому
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Рік тому
@@vaishakm6 You're right. Redis released 2009 Memcached - 2003
@digitalwasiabbas8 років тому
why facebook didnt switched to some other technology?
@code_with_om5 років тому
because the scale at which they are working changing the technology could break many things I guess.
@apdy273 роки тому
and it saved millions of dollars!
@dudyorzРік тому
Am I the only one that keeps scrolling up?
@Ballberyn3 роки тому
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.
@slothsarecool9 років тому
Iterate really fast, build really bad UI / UX... woot..
@Exevium6 років тому
Basically: build buggy software, and fix only what people complain about. Not bad for a student, terrible for a large company.
@xTriad10 років тому
2 -> 1.3
@jiayangsun73094 роки тому
Just google everyone's name in this video...
@tanveerhasan23822 роки тому
Why?
@DropsyDugo9 років тому
facebook, why memcahe and not redis?
@PankajKumar-ov8wg8 років тому
+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.
@daveojika76238 років тому
+Pankaj Kumar it's been one year! Thanks for the answer :) )
@antonop1004 роки тому
Redis launched in 2009, this video is from 2008...
@xtheory96402 роки тому
just love zuck❤
@MichaelGuy3 роки тому
It will always be a rip off of myspace
@sirmagid29626 років тому
Just say is not good
@techteja74517 років тому
This is the most lame presentation I have recently watched