Google's Tech Stack (6 internal tools revealed)

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • Google's internal tech stack is mostly public and we talk about 6 of the most influential infrastructure tools used at google, either currently or in the past.
    🚀 neetcode.io/ - A better way to prepare for coding interviews
    📝 neetcode.io/courses/lessons/d... - UA-cam Skeleton Design Doc
    MongoDB Cheat sheet: neetcode.io/courses/lessons/m...
    MongoDB Atlas - tinyurl.com/kae79pew
    Tools mentioned are from this Github repo: github.com/jhuangtw/xg2xg
    Checkout my second Channel: / @neetcodeio
    🥷 Discord: / discord
    🧑‍💼 LinkedIn: / navdeep-singh-3aaa14161
    🐦 Twitter: / neetcode1
    📷 Instagram: / neetcodeio
    🎵 TikTok: / neetcode.io
    #google #techstack #neetcode
  • Наука та технологія

КОМЕНТАРІ • 178

  • @jamesarthurkimbell
    @jamesarthurkimbell 10 місяців тому +444

    "No one uses hadoop anymore, we use flume" Why are they all named like Nickelodeon substances

    • @NeetCode
      @NeetCode  10 місяців тому +55

      Wdym, who doesn't want a little 'Goops' in their tech stack?

    • @dave7244
      @dave7244 10 місяців тому +9

      Because many of these people never grew up.

    • @ejaz787
      @ejaz787 10 місяців тому +7

      ​@@dave7244haha what

    • @lucasjames8281
      @lucasjames8281 10 місяців тому

      To distract you from the horrendous things the technology will ultimately be used for

    • @dave7244
      @dave7244 9 місяців тому +3

      ​@@ejaz787 I've worked plenty of places where the place is kitted out like college / sixth form common room. Many of the people act like teenagers / children. One woman I worked with like the colour purple so everyone her desk was purple, her phone was purple etc. I recently had a retro where it was "Barbie" themed because that is .
      It is cringe meant to appease a child like mind.

  • @amitrajitcodes
    @amitrajitcodes 9 місяців тому +137

    You should start teaching system design ASAP, top notch explaination

    • @hseinb
      @hseinb 9 місяців тому +3

      Wanted to ask for any recommended system design courses. Would definitely enroll in one from NeetCode

    • @sayaksengupta4335
      @sayaksengupta4335 9 місяців тому +1

      Agreed. ❤

    • @parthokr
      @parthokr 9 місяців тому

      no i

    • @gustavokmu5515
      @gustavokmu5515 8 місяців тому

      he is lol

  • @shashankemani1609
    @shashankemani1609 9 місяців тому +61

    This is just a fantastic explanation of Google's internal implementation. Please start a system design series too that would be great.

    • @XEQUTE
      @XEQUTE 6 місяців тому

      thiss

  • @SASA_maxillo
    @SASA_maxillo 10 місяців тому +63

    "so what did you understand?"
    "Nothing :)"
    😂😂

    • @vaisakhkm783
      @vaisakhkm783 10 місяців тому +2

      Everything... that i don't see in my lifetime

  • @user-mr5qr1jf4u
    @user-mr5qr1jf4u 9 місяців тому +4

    Hi, NeetCode! As I'm going through an interview preparation, I've noticed that it would be very nice if you implement the following feature to your website: when searching a particular task tell a user the topic of this task

  • @wilbertfundira9407
    @wilbertfundira9407 10 місяців тому +82

    Stubby/RPC looks complicated but it’s really easy and convenient to use

    • @monad_tcp
      @monad_tcp 9 місяців тому +1

      Choosing things due to convenience is not a very engineer way, ironically

    • @ezikhoyo
      @ezikhoyo 9 місяців тому

      ​@@monad_tcp Than you are a bad engineer. gRPC and Protobuf has so many advantages above REST, some include version safety (including backwards compatibilty when you e.g. add fields to a message), type safety obviously, being much slimmer in bytes (because it's binary and not sending field names with it like JSON does) but also speed wise, as it's using HTTP2, therefore reusing connections. You open a connection to a gRPC service and then can burst hundreds of requests, without always having to open a new request which takes heaps of time. Apart from that, it also supports things that are hard to impossible with rest, like bidirectional streaming. A rpc defined in the service keyword can either (or both) be set as stream. That means, you could call a gRPC method, say "UpdateStatus", and every time something changes, you send a new message, but it's still the same request. Or you can get auto completion results as you type (every type results in a new message and the server is also streaming and sending requests as fast as it can). Or you have a batch processing scenario where you send mulitple messages, like chunks or files or whatever, and as soon as a message is done processing, you sent one back. But it's not coupled, so one streaming message from the client does not require a 1:1 response, you can also have the client stream however many it wants and when it's done, the server sends one single response, like "ok done, I processed all your 100 messages, bye now". But the video also depicted proto pretty bad. Javascript is probably the worst example for proto, because 1) the lang itself has no type safety and b) (i have never written proto in js, but) it looks kinda weird what he did in the code, like reading the .proto file and going from there.. because usually, in proto, proto compiles classes/objects for whatever language you are targetting. That means, you don't have to write the server and especically not the client yourself, you're only plugging the business logic. For java or go or whatever lang with type safety, proto generates messages in the language of choice and server/client stubs. For server, it basically creates an interface which you have to implement (which would contain all methods like UpdateStatus, etc. which you need to fill your business logic in, like querying from a database and then returning) and then call a method to create a new proto server with this interface. And you're done. Client even simpler, just create new instance of the generated client classes/structs, supply an IP/Port, and you're good to go. The object would then have all methods and handle the HTTP in the background. So no, using REST over gRPC in 2023 is nothing but being lazy. For new systems there is absolutely no excuse. Especically because proto can easily do REST (with grpc-gateway) as well. You can write options in each message (and rpc method) saying "this specific method would be a GET, this a POST and for that message, the name field should be in the path, etc., etc." and then it'll serve a REST API along to use. But gRPC was also made to be used for internal communication between microservices. So not having direct browser support is a feature, so to speak. Again, with grpc-gateway that is not an issue, but still, grpc is not really suited for it, as there is usually no authentication in microservices and opening them up for web is kinda.. not good.

  • @jamesvoynow3559
    @jamesvoynow3559 7 місяців тому

    My favorite one of your videos so far - wow great job!

  • @NimTheHuman
    @NimTheHuman 9 місяців тому +10

    4:58 To answer your question about why Google doesn't migrate to the open-source variants of Google-internal tools (e.g., why Google doesn't migrate from Borg to Kubernetes), I believe it's because:
    1. The cost of migration is not worth it - given how much infrastructure and other Google assets (existing SWE knowledge, additional tooling, integrations with other Google-internal tools, etc.) are built on top of the old, Google-internal tool.
    2. Open-source tool roadmaps are steered/influenced by other companies (e.g., Google doesn't have 100% control over what new features Kubernetes will support in the coming years).
    My guess is that 1 is the main reason - since some Google products DO use open-source tools (i.e., some Google products use Kubernetes).
    (That said, it's hard to make general statements about Google, since Google is so big and each team is actually quite different.)
    Great video, BTW. I learned a ton!

  • @bryan_truong
    @bryan_truong 9 місяців тому +5

    Great video! I knew gRPC/stubby would be on here, learned some new stuff too. I did a gRPC video for IBM a few years ago and very few people at IBM know about it lol

  • @nokiaairtel5311
    @nokiaairtel5311 10 місяців тому +35

    Didn't understand a single thing.. but enjoyed it 😂

  • @DavidJohnsonFromSeattle
    @DavidJohnsonFromSeattle 10 місяців тому +34

    "Spanner is the crackhead database that uses GPS and atomic clocks to literally break CAP theorem." YEAH! It is f'in crazy and hard to use correctly. I've actually never seen an implementation that didn't have contention issues. But there is absolutely nothing that scales better.
    Everyone doesn't know how lucky they are to not have to use borgcfg. Kubernetes FTW!

  • @thetechwindow
    @thetechwindow 8 місяців тому

    Excellent explanation of Google's internal tools and their corresponding Open source equivalents or Competitors. You are too good at teaching these things...Thanks for posting these and please keep posting such interesting stuff..!!

  • @Jakefromstatefarm56503
    @Jakefromstatefarm56503 8 місяців тому

    Crazy that I was looking up Sergey Brin today and skimming through his paper he wrote introducing Google and in the same day I find this video simply going to your page because I know how influential you are in tech. I forget why I looked up Sergey but I do remember why I looked up your channel because I have to start practicing for tech interviews like yesterday.

  • @dylanoh3425
    @dylanoh3425 10 місяців тому +1

    I really love this kind of videos 😊 Please make more of them ❤

  • @muraliprasanthd
    @muraliprasanthd 2 місяці тому

    Thank you for this video. Very informative.

  • @Hal-yc7dc
    @Hal-yc7dc 10 місяців тому +43

    I loved your leetcode journey - but can you explain your journey of how you're 'fluent' in all these tech stacks? Looks like a huge leap from doing X# of leetcode problems to all these academic tech stacks. I've come across some of these, but I don't think I'd be very good if my day job required me to understand all of this.

    • @friction5001
      @friction5001 9 місяців тому +9

      to become fluent at these techstacks you'll most likely be reading documentations or getting help from seniors at google to guide you

    • @coherentpanda7115
      @coherentpanda7115 9 місяців тому +1

      You likely don't often interact with these special tools at Google except in higher level Senior positions. These tools are already built, likely already integrated in the stack and automated. You may only need to ever interact with one of those tools in your project, and documentation is thorough enough to get you started.

    • @tejeshreddy6252
      @tejeshreddy6252 9 місяців тому +15

      I'm pretty sure he is not fluent in any of these. It's easy to read on these to get a surface level understanding especially after working at Google for a few months. Don't be deceived by the tone, he is not an expert at actual engineering tools.

  • @tyson6036
    @tyson6036 9 місяців тому

    How are you doing the transitions between the old/new code?

  • @khalilbessaad5553
    @khalilbessaad5553 9 місяців тому

    more design architecture stuff PLEASE!!!

  • @thecommondude
    @thecommondude 9 місяців тому

    Love the kevin fang style videos. Keep it up!

  • @Dominik-K
    @Dominik-K 10 місяців тому +1

    Great video, liking this a lot

  • @satwiktatikonda764
    @satwiktatikonda764 10 місяців тому +69

    These Time stamps are legendary 😂

    • @sparkle3024
      @sparkle3024 10 місяців тому +5

      💀💀

    • @NeetCode
      @NeetCode  10 місяців тому +36

      lol, this is what 500 lc problems does to a mfer

  • @joaodiasconde
    @joaodiasconde 9 місяців тому

    Excellent video and info!

  • @yang5843
    @yang5843 10 місяців тому +10

    I got kubernetes right (pats back)
    Other than that, i understood nothing in this video.
    On a serious note, thank you for compressing so much information in this short video.

  • @dellta2357
    @dellta2357 9 місяців тому +1

    Sounds so interesting, thanks a lot for making this!

  • @kalahari8295
    @kalahari8295 10 місяців тому +4

    Shit just increased my love for Backend Engineering. I'm curious to know what role you worked as at Google. Backend Engineer? System design something?

  • @IvanRandomDude
    @IvanRandomDude 10 місяців тому +11

    7:32 Why is that?. Vast majority of the courses/tutorials are really FE focused. Even the ones that are supposed to be "Full Stack:" are just using some BaaS to avoid work on the backend.

    • @NeetCode
      @NeetCode  10 місяців тому +9

      My guess is because it's easier for self taught people. Backend isn't crazy either, but it requires a bit more foundational knowledge, so a CS degree helps.

  • @sohaibeboss
    @sohaibeboss 10 місяців тому +1

    long time no see, very glad you're back

  • @Speak4Yourself2
    @Speak4Yourself2 9 місяців тому

    Excellent video. Thanks a lot!

  • @csy897
    @csy897 9 місяців тому +5

    If you're as rich as google just have everything in house and force your engineers to write every single line of code you want to use so that it gets refactored and maintained properly and so that you don't write code you don't need AND so that you don't have to deal with external deprecation that may pose security issues

  • @viniciusgajo1884
    @viniciusgajo1884 5 місяців тому

    Great video!

  • @tohlenforst
    @tohlenforst 9 місяців тому +2

    lmctfy isn't really esoteric, it's just an acronym for "Let Me Contain That For You"

  • @sparkle3024
    @sparkle3024 10 місяців тому +3

    I am very glad you are back

  • @blackboxbs8642
    @blackboxbs8642 10 місяців тому +14

    everything went top of my head

  • @chinmayghule8272
    @chinmayghule8272 9 місяців тому

    Most of this just went over my head.

  • @maxrush206
    @maxrush206 9 місяців тому +2

    what anime is that in the beginning?

  • @HelplessFangirl
    @HelplessFangirl 9 місяців тому +40

    One of the few programming channels I trust, I’m so tired of grifters lol

    • @jessepinkman144
      @jessepinkman144 9 місяців тому +1

      Can you share the other channels name? Because I’m new to programming, so I want to follow them too, thank you!

    • @HelplessFangirl
      @HelplessFangirl 9 місяців тому

      @@jessepinkman144 Corey Schafer is another good one for Python. I also really like fireship’s quick and dirty explanations.
      Generally I’m usually very sketchy of people who plaster their face all over their videos or try to sell you something. TechwithTim I think happens to give good advice tho

  • @GaneshPrasadgnsp
    @GaneshPrasadgnsp 8 місяців тому +6

    Funny that this video doesn't mention memegen as the top tool built at Google😂

  • @sepideh_a93
    @sepideh_a93 9 місяців тому +1

    Love the sense of humor! 😆

  • @nmdra
    @nmdra 10 місяців тому +10

    0:09 Heavenly Delusion Season 01 🌝

  • @sitikantapanigrahi8621
    @sitikantapanigrahi8621 9 місяців тому +3

    I think many tech companies have their own internal tools for everything. Like in amazon there is a internal tool for every kind of work related to software development.

  • @anirbanc88
    @anirbanc88 9 місяців тому

    this was awesome!

  • @pirateg3cko
    @pirateg3cko 10 місяців тому +4

    Love your stuff, neetcode

  • @FatihAltnok
    @FatihAltnok 9 місяців тому

    I heard borg was also superseded but I don’t remember the name.

  • @seuntaiwo8735
    @seuntaiwo8735 9 місяців тому

    didn't understand a word. Can anyone point to some resources on learning about the above?

  • @BennduR
    @BennduR 10 місяців тому +1

    Typo @ 2:48 - "Intermadiate" KV PAirs

  • @tinymurky7329
    @tinymurky7329 10 місяців тому

    the king is back in town!

  • @cerio3237
    @cerio3237 10 місяців тому

    In what software do you animate your code?

    • @biochem6
      @biochem6 8 місяців тому

      MS Paint

  • @amritakesh
    @amritakesh 9 місяців тому

    whhhyyy did you change the ui of neetcode?? I loved that it was divided upon topics

    • @NeetCode
      @NeetCode  9 місяців тому +1

      It should still be divided by topics. There's a button in the toolbar of the practice page that lets you toggle from list view to grouped view

  • @namankeshari7332
    @namankeshari7332 9 місяців тому

    It's so fun to watch your videos!

  • @cjjb
    @cjjb 9 місяців тому

    I believe Borg mon (Borgmon?) is another one. The open source equivalent is Prometheus. Don't quote me on that though!

  • @jhoanmartinezsilva2609
    @jhoanmartinezsilva2609 9 місяців тому

    Will be cool about languages

  • @jamalwest1653
    @jamalwest1653 10 місяців тому

    God bless you brother

  • @shahiyankhan
    @shahiyankhan 9 місяців тому

    What your views on flutter

  • @agcodes
    @agcodes 10 місяців тому +10

    Nothing understood, but enjoyed.

  • @potodds_trading
    @potodds_trading 10 місяців тому +9

    lol, thought I was in a fireship video for a moment.

    • @ehza
      @ehza 10 місяців тому

      Hahaha. Yeah It felt to me like that too! less robotic, and a little slower pace imo

    • @polycrylate
      @polycrylate 10 місяців тому

      yeah the thumbnail and title baited me i thought i was clicking on fireship 💀

  • @jurgis5190
    @jurgis5190 10 місяців тому

    badass video

  • @ThePacemaker45
    @ThePacemaker45 10 місяців тому +1

    Lmfao at that thumbnail 😂😂

  • @jotasenator
    @jotasenator 9 місяців тому

    I don t know by what I was hit but I am subscribed and ready to learn-suffer more

  • @zerodev6691
    @zerodev6691 10 місяців тому +1

    beautiful just beautiful, i dont understand it but dammit it is beautiful

  • @mltyblnd
    @mltyblnd 9 місяців тому +1

    source 0:10 ?

  • @mprasanth18
    @mprasanth18 9 місяців тому +1

    I don’t understand what he explained while explaining about how the data is stored at 6:56. Is everyone else able to understand it that easily?

  • @mattkins99
    @mattkins99 10 місяців тому

    Where are you going next?

  • @jswlprtk
    @jswlprtk 10 місяців тому +1

    I expected Gira

  • @christineeee96
    @christineeee96 9 місяців тому

    aaaah finally neetcode revealing his faceeee , always wondered how u look like...

  • @anmolsharma4049
    @anmolsharma4049 9 місяців тому +1

    Names sounds like straight out of Rick and morty. Hey morty let's build a new project with good ol Stubby and Goops and add in a bit of hadoop

  • @varunramurs8715
    @varunramurs8715 10 місяців тому +1

    Heavenly Delusion insert

  • @mloneusk8269
    @mloneusk8269 8 місяців тому

    Sanjay Ghemawat - The OG 🙏

  • @PoojaDutt
    @PoojaDutt 9 місяців тому

    Bring on the “ultra secret google tech” 😅 jk, great video!

    • @NeetCode
      @NeetCode  9 місяців тому

      Thanks Pooja 🙂

  • @genie9262
    @genie9262 9 місяців тому

    Yp ... still a lot to learn😢

  • @rohitpal7836
    @rohitpal7836 9 місяців тому

    For a moment I thought this was Fireship's channel, wait now on his channel I will mistake him with you

  • @nourmikhael7120
    @nourmikhael7120 10 місяців тому +76

    Hello, Google intern here. This feels illegal to watch 😂

    • @asktostranger8296
      @asktostranger8296 10 місяців тому

      California?

    • @a55tech
      @a55tech 10 місяців тому +1

      u musta missed the part about it being on github

    • @LinhNguyen-zg9kn
      @LinhNguyen-zg9kn 10 місяців тому

      Hello, Google intern here. This feels illegal to watch 😂

    • @sudipkumardey8791
      @sudipkumardey8791 10 місяців тому +3

      Hello, Google User here. This feels meaningless to watch 😂

  • @abhisheksubba7691
    @abhisheksubba7691 10 місяців тому +4

    So you learned all of these tech at your time in Google? No wonder they hire the very best of engineers.

    • @DavidJohnsonFromSeattle
      @DavidJohnsonFromSeattle 10 місяців тому

      They teach pretty much all of them in the first week.

    • @a55tech
      @a55tech 10 місяців тому +2

      pay attention bro as he said he never really learned the build tool
      scratching the surface is easy but they all have depth that most will never need and thus never reach

    • @tpower1912
      @tpower1912 9 місяців тому

      All sounds similar to stuff I use. I'm sure the APIs and details are different but nothing too extreme

  • @tinymurky7329
    @tinymurky7329 10 місяців тому +1

    My brain is so small I can't understand any of these tools.

  • @thereactdev
    @thereactdev 4 місяці тому

    me watching this in 4 am: "I like your funny words, magic man"

  • @rahulsahay19
    @rahulsahay19 9 місяців тому +1

    These stuffs are already known and talked by many already. There is no secret sauce here. But, anyways thanks for summarising these.

  • @hemanth850
    @hemanth850 10 місяців тому +9

    Here before google takes this down

    • @NeetCode
      @NeetCode  10 місяців тому +15

      Here before google fires me.. oh wait

    • @brogrammer8783
      @brogrammer8783 9 місяців тому

      @@NeetCode they been cracking down on leakers, wouldn't be surprised if you got a legal notice email from Chris Rackow

  • @PavanKumar-bd7he
    @PavanKumar-bd7he 10 місяців тому

    Abseil is not so popular eh?

  • @sumitsharma6738
    @sumitsharma6738 10 місяців тому +1

    Ultra Secret xD

  • @basilfeitknecht6430
    @basilfeitknecht6430 9 місяців тому

    sauce at 00:12?

  • @hellowill
    @hellowill 7 місяців тому

    This is the problem with Google IMO. They don't even use their own technology (I mean the open source/GCP version of it).
    Unlike Amazon which is literally a customer of AWS. So they don't understand customer pain points.

  • @Yougottacryforthis
    @Yougottacryforthis 9 місяців тому

    distinguished comp sci. undergrad and i understood nothin lmfao

  • @Ved3sten
    @Ved3sten 9 місяців тому

    You forgot Spanner

  • @abaan404
    @abaan404 10 місяців тому

    ok but sauce for the intro?

  • @itznukeey
    @itznukeey 9 місяців тому +1

    I wonder if they use PyTorch for ml 😂

  • @tacowilco7515
    @tacowilco7515 6 місяців тому

    Bazel is a nightmare. You're lucky that you didn't have to use it.

  • @Rajdweep
    @Rajdweep 9 місяців тому

    didn't understand shit, bt it was nice

  • @ashmitsharma9096
    @ashmitsharma9096 10 місяців тому +2

    0:10 sauce ?

    • @that1boii969
      @that1boii969 10 місяців тому +3

      Heavenly Delusion

    • @vaisakhkm783
      @vaisakhkm783 10 місяців тому +1

      @@that1boii969 XD thanks...

  • @TheStruders
    @TheStruders 9 місяців тому +1

    When a culture promotes on delivery instead of results.. what a mess

  • @SASA_maxillo
    @SASA_maxillo 10 місяців тому +5

    don't tell me if i want to be a backend engineer at google i have to understand all of this?? 😭😭

    • @NeetCode
      @NeetCode  10 місяців тому +24

      Most engineers at google are just updating config files, so don't worry about it dog

    • @mdmurtaza8321
      @mdmurtaza8321 10 місяців тому +1

      @@NeetCode 😀😀

    • @SASA_maxillo
      @SASA_maxillo 10 місяців тому +1

      ​@@NeetCode thank god, thank you for letting me sleep tonight 😂😂

    • @mammocas
      @mammocas 10 місяців тому

      @@SASA_maxillo Hope you realize that was a joke, in fact there's a lot more to learn to understand Google's backend :)

    • @graju2000
      @graju2000 10 місяців тому +3

      @@mammocastbh, he isnt joking that is the actual truth.

  • @c0deHD
    @c0deHD 9 місяців тому

    so what's next after quitting google?

  • @Babbili
    @Babbili 10 місяців тому

    bro these kinda titles could get you in trouble with them

  • @Decoy22x
    @Decoy22x 9 місяців тому +1

    Why people always want to join Google then ditch them once they in lol

  • @kartikeyrana3736
    @kartikeyrana3736 10 місяців тому

    i thought you were never gonna return

  • @acecool1715
    @acecool1715 6 місяців тому

    My brain

  • @bogdan-ii
    @bogdan-ii 10 місяців тому

    Piper :Waz:

  • @suryaprasath904
    @suryaprasath904 10 місяців тому

  • @hellowill
    @hellowill 7 місяців тому

    The people that came up with this shit are genius (real computer scientists).
    Us software engineers just copy paste lmao.

  • @alonewolf7682
    @alonewolf7682 10 місяців тому

    LOL timestamps

  • @sortof3337
    @sortof3337 10 місяців тому

    lol, google has no ideas what developer platform is. :|

  • @karthikeyajidagam8068
    @karthikeyajidagam8068 9 місяців тому

    What the fuckuuu is all these 😂😂😂