You Don't Know Node - ForwardJS San Francisco

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

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

  • @manishregmi4801
    @manishregmi4801 5 лет назад +28

    Before the video began: WTF do you mean I don't know nodejs ... 5 minutes after watch the video... holy crap I did not know nodejs ..

  • @rafaelveggi
    @rafaelveggi 4 года назад +8

    I'm only 11min in but I'm safe to say this is the best ES talk I've watched so far. Big thanks for sharing

  • @It7Is7Charlie
    @It7Is7Charlie 6 лет назад +29

    seriously, genius talk. Dude, you are awesome!

  • @georgebenjamin6632
    @georgebenjamin6632 4 года назад +3

    I knew the answers to about 70% of these questions, I'm so proud of myself!

  • @AkshayAradhya
    @AkshayAradhya 6 лет назад +5

    Loving this talk... Watched it till 12:24.
    Will come back and watch the whole thing

  • @alibarznji2000
    @alibarznji2000 4 года назад +2

    this guy is a genius,
    I took his course on plural sight and it was awesome

    • @namanjindal3089
      @namanjindal3089 Год назад

      please share the course name

    • @alibarznji2000
      @alibarznji2000 Год назад

      @@namanjindal3089 Nodejs by Samir Buna,
      It was quite a while ago, so I don't remember much

  • @mohsenkhashei5472
    @mohsenkhashei5472 Год назад

    Thanks to Samer Buna

  • @SamuelKarani
    @SamuelKarani 4 года назад +5

    Me "I'm kind of a node expert" Samer "Hold my beer!"

  • @ivanslepchenko9785
    @ivanslepchenko9785 Год назад

    This is just super cool. Thanks!

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

    superb video i ever watched

  • @sanjayshr1921
    @sanjayshr1921 5 лет назад +3

    8:08 export is an object reference for the module.

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

    One of the BEST EVER, thank you

  • @nishantsabharwal13
    @nishantsabharwal13 5 лет назад +3

    Brilliant Talk. I really didn't know node :D

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

    YES, that's a really good presentation!

  • @Julius-fd2sd
    @Julius-fd2sd 5 лет назад +1

    Very good and helpful talk! Thank you!

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

    Clear explanation TQ very much

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

    Very good talk

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

    this guy is genius .

  • @Rmargve
    @Rmargve 5 лет назад +1

    Kudos man, good talk

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

    Best tips ever. Thanks

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

    Amazing guy! :)

  • @Steve-Richter
    @Steve-Richter 5 лет назад

    Does node run on multiple threads? I guess reading a file can run on a thread. But how would node know it can safely run two different user functions in separate threads?

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

      by default it is single-threaded. there are ways for you to make it multi-threaded.

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

      Ask your neighbor

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

    Comparing spawn and exec and saying spawn is better because you get a stream instead of a buffer. What is a stream if not a buffer? These are all shared memory were one program is writting info to be consumed by the other. Piping in a shell uses buffers

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

      While I don't know the answer for sure as I'm still learning Node myself I would have to guess that the difference is something like this: a Stream uses a fixed size buffer and continuously writes data to it, flushes, and then writes more data. A Buffer can be arbitrarily large and attempt to read all or as much of the data at once. So if you're reading 2GB of data total, using Streams will use very little memory to complete the full read operation by reading it in chunks of a fixed amount. However, with Buffers you may end up creating a Buffer of 2GB which is too much memory to hand over to a program that is simply reading data.

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

      @@kavan1773 buffer/stream are real world analogies to give a vibrant picture. They both refer to the same technique of allocating memory, and writing to it in batches, instead of fully allocating everything. As i said piping in a shell uses buffers. A webserver uses buffers. A streaming server like Kafka uses buffer. Anything networking does. You can call it streaming and it's equally valid. Video streaming is using buffer. It's sometimes tells you it's buffering for instance. It's one and the same

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

    perfect

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

    10/10

  • @localghost3000
    @localghost3000 5 лет назад +2

    The speaker said that when the call stack and event queue are both empty, the node process exits. In case of http servers created using node, how exactly is the server is kept alive when we don't have any incoming requests at a given point of time?

    • @mugs4439
      @mugs4439 5 лет назад +2

      Qais Makani as he stated immediately after... you set a process to keep it alive

    • @NxMOHAMAD
      @NxMOHAMAD 4 года назад +2

      because it's not the requests that's keeping the process alive, it's the listening to the port that does.

    • @dapobelieve
      @dapobelieve 4 года назад +4

      The process of listening keeps the application alive

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

      Idle

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

    omg so now i understood why we do server.listen,

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

    The more I learn about Node the more I start moving towards golang