Facebook and memcached - Tech Talk

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 84

  • @magnatron1086
    @magnatron1086 7 лет назад +194

    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 лет назад +12

      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 лет назад +4

      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 года назад +40

    Paying my respects to Zucc here, he does a good job at explaining memcache.

  • @LydellAaron
    @LydellAaron 4 года назад +43

    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 3 года назад

      indeed, it's still supporting the TCP connection though client has the choice

  • @MPXVM
    @MPXVM 4 года назад +51

    Video from 2008, uploaded in 2013, watching in 2020. RUclips algorithm, unresolved mystery ...

  • @thejahbroda
    @thejahbroda 24 дня назад

    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

  • @andrewpagan
    @andrewpagan 4 года назад +11

    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.

  • @lukenava8231
    @lukenava8231 2 года назад +3

    Zucc is so much more personable when he isn't trying to be personable. A nerd in their element is so endearing

  • @JakeWildsJaxFL
    @JakeWildsJaxFL 3 года назад +7

    The video cuts off right when it gets to the really good stuff!

  • @akompsupport
    @akompsupport 11 лет назад +24

    I think it's awesome that andrew WK party hard breaks in at 14:47

  • @iainelder7607
    @iainelder7607 10 лет назад +9

    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 лет назад +12

    11:16 and that brought about the largest ddos attack years later for github

  • @GILLOS21
    @GILLOS21 4 года назад +7

    Anyone have a link to the rest of the lecture?

  • @SeamusMcMichael
    @SeamusMcMichael 3 года назад +1

    This is an interesting video. Mark explains this well, without being too technical.

  • @helsontaveras7961
    @helsontaveras7961 8 лет назад +111

    14:45 ...?

    • @thyagtubes
      @thyagtubes 7 лет назад +11

      For a moment, it seemed like a scene from Inception

    • @bonniwanamaker6296
      @bonniwanamaker6296 5 лет назад +4

      @@thyagtubes LOL yes what what was that.

    • @A.K.00
      @A.K.00 5 лет назад +3

      lmao

    • @JamesDarby7
      @JamesDarby7 3 года назад +3

      Glitch in the matrix

  • @RAULGARCIAYunqeExplorer
    @RAULGARCIAYunqeExplorer 3 года назад +2

    Nice work on the interplay of coding/design decisions and real expenses at long term and large scales

  • @sunnykgupta
    @sunnykgupta 8 лет назад +7

    8:07 are these the right slides??? :P

  • @ankitasinha7892
    @ankitasinha7892 7 лет назад +11

    Mark Zuckerberg is great at explaining complex things so simply.

    • @EhSUN37
      @EhSUN37 6 лет назад +8

      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

  • @travbrack
    @travbrack 6 лет назад +8

    Daddy Zuck talking about memcache - omgz

  • @Play_Streams
    @Play_Streams 7 лет назад +3

    Very good presentation

  • @DawidSpiechowicz
    @DawidSpiechowicz 11 лет назад +33

    Who stole the rest of the video? ;-)

    • @Potenti4lz
      @Potenti4lz 10 лет назад +3

      RUclips must have ate it all up for breakfast :(

    • @ShmeelZarnuk
      @ShmeelZarnuk 7 лет назад +24

      UDP missed packets

    • @Exevium
      @Exevium 7 лет назад +5

      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

  • @alokcom
    @alokcom 4 года назад +1

    Is there kernel patch for making slab allocation from power of 2 to 1.3 ?

    • @MetaDevelopers
      @MetaDevelopers  4 года назад +1

      Hi, we recommend joining and posting in the Developer Community Forum for assistance: tinyurl.com/y6g8l2e5

  • @waterboygeorge
    @waterboygeorge 9 лет назад +4

    Do they still use memcached? What does their current stack look like?

  • @indavarapuaneesh2871
    @indavarapuaneesh2871 3 года назад +1

    World really missed an brilliant engineer

  • @Mike-ci5io
    @Mike-ci5io 2 года назад

    Did he write memcahce or did he just deploy it on FB? because thats a big difference

  • @labjujube
    @labjujube 2 года назад

    Good presentation that I can keep watching

  • @freezefrancis
    @freezefrancis 3 года назад

    watching this 8 years later.

  • @subramanyammalepati8655
    @subramanyammalepati8655 3 года назад +1

    awesome in depth understanding

  • @glxs9539
    @glxs9539 6 лет назад +1

    where is the rest?

  • @wangwu9299
    @wangwu9299 2 года назад +1

    when is last time Z presented a tech talk?

  • @slothsarecool
    @slothsarecool 10 лет назад +19

    Iterate really fast, build really bad UI / UX... woot..

    • @Exevium
      @Exevium 7 лет назад +3

      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

  • @potatopilot6081
    @potatopilot6081 3 года назад

    Good morning sir!

  • @tusharmaurya1668
    @tusharmaurya1668 3 года назад

    so basically he made redis for facebook?

    • @vaishakm6
      @vaishakm6 2 года назад +1

      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

  • @digitalwasiabbas
    @digitalwasiabbas 8 лет назад +4

    why facebook didnt switched to some other technology?

    • @code_with_om
      @code_with_om 6 лет назад +2

      because the scale at which they are working changing the technology could break many things I guess.

  • @dudyorz
    @dudyorz 2 года назад

    Am I the only one that keeps scrolling up?

  • @apdy27
    @apdy27 3 года назад

    and it saved millions of dollars!

  • @cocacokautube
    @cocacokautube 9 лет назад

    it is not finished

  • @xTriad
    @xTriad 10 лет назад +5

    2 -> 1.3

  • @AnjanKumarhere
    @AnjanKumarhere 3 года назад

    Thanks yt algorithm

  • @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.

  • @jiayangsun7309
    @jiayangsun7309 5 лет назад

    Just google everyone's name in this video...

  • @xtheory9640
    @xtheory9640 3 года назад

    just love zuck❤

  • @DropsyDugo
    @DropsyDugo 10 лет назад

    facebook, why memcahe and not redis?

    • @PankajKumar-ov8wg
      @PankajKumar-ov8wg 8 лет назад +34

      +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 лет назад +1

      +Pankaj Kumar it's been one year! Thanks for the answer :) )

    • @antonop100
      @antonop100 5 лет назад +4

      Redis launched in 2009, this video is from 2008...

  • @MichaelGuy
    @MichaelGuy 4 года назад

    It will always be a rip off of myspace

  • @sirmagid2962
    @sirmagid2962 6 лет назад

    Just say is not good

  • @techteja7451
    @techteja7451 7 лет назад +7

    This is the most lame presentation I have recently watched

    • @Jpk45
      @Jpk45 5 лет назад

      Fuck you error 505