DataLoader - Source code walkthrough

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2024

ความคิดเห็น • 56

  • @black_n5492
    @black_n5492 4 ปีที่แล้ว

    The enthusiasm is what does it for me. You're so excited about this tool - it's contagious. Lol

  • @radleyanaya9552
    @radleyanaya9552 2 ปีที่แล้ว

    Thank you for taking the time to make this! Years later and still helpful :D

  • @AndresLobaton
    @AndresLobaton ปีที่แล้ว

    My tech lead recommend me this video, It's so good, thank you so much

  • @JeffBarczewski
    @JeffBarczewski 8 ปีที่แล้ว +6

    This is fantastic Lee, I love having the background story and you provided just the right amount of detail in your walk through.

  • @vlrapatsky
    @vlrapatsky 2 ปีที่แล้ว

    Thank you for great presentation and all explanations. It was a great idea widely adopted over time!

  • @KevinOld
    @KevinOld 8 ปีที่แล้ว +5

    Thanks Lee for this walkthrough! Just the right amount of detail and length. Would love to see more of these!

  • @youcaillou
    @youcaillou 4 ปีที่แล้ว

    Just watched, still valuable. Thanks!

  • @sanzhar.danybayev
    @sanzhar.danybayev 4 ปีที่แล้ว

    Wow! That's exactly what I was searching for!

  • @WholeNewLevel2018
    @WholeNewLevel2018 ปีที่แล้ว

    Thanks for this awesome walkthrough

  • @appstratum9747
    @appstratum9747 6 ปีที่แล้ว

    Thanks for this, Lee. Really appreciated the code walkthrough and you rationale for the decisions you've taken.

  • @mahmoudsaada9106
    @mahmoudsaada9106 8 ปีที่แล้ว

    This series is so good. Please keep posting more!

  • @christopherlee4888
    @christopherlee4888 7 ปีที่แล้ว

    Thanks for taking the time to walk through the source code!

  • @jimcummins1543
    @jimcummins1543 8 ปีที่แล้ว

    Great video Lee. Really helpful for me in understanding what exactly dataloader is doing. We've got something similar but it required us to pass a reference around and was not maintainable.

  • @curious-steps
    @curious-steps ปีที่แล้ว

    Thanks for the great explanation!

  • @conformist
    @conformist 7 ปีที่แล้ว

    Very clear and concise walkthrough.
    Thank you so much for making this video, please do more on some advanced topics!

  • @raselkarim2731
    @raselkarim2731 ปีที่แล้ว

    Great job Lee.

  • @zyishai
    @zyishai 2 ปีที่แล้ว

    Incredible, thank you for the clear explanation! learned some new stuff about the micro-tasks queue ;)

  • @jacobmartin8665
    @jacobmartin8665 4 ปีที่แล้ว

    Thanks for the walkthrough.

  • @urbancvek7120
    @urbancvek7120 7 ปีที่แล้ว +1

    Amazing library and even more amazing explanation. Great job!

  • @minioppp
    @minioppp 8 ปีที่แล้ว

    Source code walkthrough was really helpful. I'll check out your other video, too. Thanks a lot.

  • @NormanRzepka
    @NormanRzepka 8 ปีที่แล้ว

    This was great. Thanks for taking the time to produce this video!

  • @jamaalwilliams8335
    @jamaalwilliams8335 8 ปีที่แล้ว

    Thanks Lee for this walkthrough.

  • @Mario.Jerkovic
    @Mario.Jerkovic 8 ปีที่แล้ว

    Keep up the good work. The library is really awesome.

  • @BacheneAdel
    @BacheneAdel 6 ปีที่แล้ว

    Thanks Lee, Such an awesome Video with all the details

  • @pczern8275
    @pczern8275 5 ปีที่แล้ว +3

    hey awesome introduction and code walkthrough through DataLoader. Appreciate it!
    A lot has happened since 2016 in the GraphQL world so I just gotta ask if DataLoader is used by Facebook for the new redesign or in some other applications?

  • @jeremyshefer8148
    @jeremyshefer8148 6 ปีที่แล้ว

    This is an amazing walk through! Thanks so much for taking the time to do this.

  • @loganpowell
    @loganpowell 7 ปีที่แล้ว

    You're a genius man.

  • @ChrisWitko
    @ChrisWitko 8 ปีที่แล้ว

    Great, waiting for more!

  • @bernardoamorim9495
    @bernardoamorim9495 5 ปีที่แล้ว

    Thanks for the great talk!

  • @sandropucp76
    @sandropucp76 8 ปีที่แล้ว

    thanks, Lee. Great video

  • @sanzhar.danybayev
    @sanzhar.danybayev 4 ปีที่แล้ว

    Does it mean that in the context of Node.JS, process.nextTick() will run in the end of HTTP request ? In other words once everything for this request will be done.

  • @jaikantchandrakumaran3423
    @jaikantchandrakumaran3423 8 ปีที่แล้ว

    Thanks Lee. This was useful.

  • @FatihKalifa
    @FatihKalifa 8 ปีที่แล้ว

    Thank you so much Lee, this is really useful

  • @knutkj
    @knutkj 3 ปีที่แล้ว

    At 19:38 you say that some promises have not run yet. Is that accurate to say? I thought that Promises are always hot, they run at instantiation time. If my understanding is correct, I still believe this one of the major shortcomings I see with promises over obsevables which supports a cold mode. This is also why I think the GraphQL implementation has some limitations, since it is based on the less powerful promise construct. An implementation based on observables would also have allowed support for a partially resolved graph which has advantages over the GQL subscription pattern with its async iterators.

  • @DecebalDobrica
    @DecebalDobrica 7 ปีที่แล้ว

    amazing work Lee, I was wondering if you would use anything like this in conjecture to a graph database,feels unnecessary maybe .

  • @JohnCiprian
    @JohnCiprian 6 ปีที่แล้ว

    Thanks! This was really useful.

  • @ChrisGeirman
    @ChrisGeirman 8 ปีที่แล้ว

    I've not yet checked out Relay, but this sounds similar to me. Fair to call this Relay-lite (ish)? Very much appreciate the walk through!

  • @rafaelturk3779
    @rafaelturk3779 8 ปีที่แล้ว

    Brilliant!

  • @miguelangelmayori1073
    @miguelangelmayori1073 7 ปีที่แล้ว +1

    where is the other videos about graphql

    • @lgila001
      @lgila001 7 ปีที่แล้ว

      th-cam.com/video/IqtYr6RX32Q/w-d-xo.html

  • @briancompton4705
    @briancompton4705 5 ปีที่แล้ว

    Thank you!

  • @Filly309
    @Filly309 7 ปีที่แล้ว

    wouldn't this._queue.push({ key, resolve, reject }) just be a object literal not a tuple? I believe tuple do not use a key so it would be this._queue.push([ key, resolve, reject ]). Please correct me if I am wrong :)

  • @fenghu5850
    @fenghu5850 8 ปีที่แล้ว

    very very very cool.....

  • @OfferoC
    @OfferoC 5 ปีที่แล้ว

    Neat. Thank you.

  • @nicolasparada
    @nicolasparada 8 ปีที่แล้ว

    Thanks for explaining those stuff :)

  • @Mustafaismail22
    @Mustafaismail22 7 ปีที่แล้ว

    thank you

  • @RifatNabi
    @RifatNabi 8 ปีที่แล้ว +1

    Awesome 🤘👍

    • @zarcosk8
      @zarcosk8 6 ปีที่แล้ว

      💪🏿

  • @LizardanNet
    @LizardanNet 7 ปีที่แล้ว +5

    Why "var" instead of "let"

    • @vasilstoyanov5465
      @vasilstoyanov5465 6 ปีที่แล้ว +2

      Because he understands function scoping ;)

    • @NyttNorge
      @NyttNorge 6 ปีที่แล้ว +1

      var supports variable hoisting and is visible within the scope of the function it was defined. let is only visible in within the curly brackets it was defined and will throw an error if you try to use it if it hasn't been defined. Sometimes var is handy, especially with async functions since the var will be undefined until it has a value.

  • @joan-diegorodriguez1983
    @joan-diegorodriguez1983 7 ปีที่แล้ว +4

    When you realise that you'll never be as smart as this kid...

  • @Mike-gu8gt
    @Mike-gu8gt 5 ปีที่แล้ว

    I sent you a few messages via Twitter, anything?

  • @sigurgeirjonsson3315
    @sigurgeirjonsson3315 8 ปีที่แล้ว

    Great video - queuing/batching technique is very similar to what we have been using successfully with github.com/ZJONSSON/clues/blob/master/util/reptiles-client.js

  • @crapthings
    @crapthings 7 ปีที่แล้ว

    neat

  • @jessewright870
    @jessewright870 4 ปีที่แล้ว

    This was very very helpful, thank you!