Node.js "Event Emitters" Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2024
  • Event Emitters in Node.js are the key for the Event-Driven Architecture within your app. In this video we're gonna learn how Event Emitters are related to Pub/Sub pattern, potential use cases, how to emit an event, act on it and handle errors.
    ======⚡⚡⚡======
    ☕ Buy me a coffee: www.buymeacoff...
    🙌 Become my Patreon and get exclusive perks: / softdevdiaries
    💼 Follow me on LinkedIn and drop me a message if you'd like: / gadirovgs
    💻 Also, let's connect on GitHub: github.com/gusgad
    📚 Resources:
    Original article with code: www.digitaloce...
    Official docs: nodejs.org/api...
    And don't forget to subscribe for more videos like this 😊

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

  • @semperfiArs
    @semperfiArs 28 วันที่ผ่านมา +1

    Brilliant videos. Your channel is a gold mine

  • @alexenax1109
    @alexenax1109 4 หลายเดือนก่อน +1

    Great video! First time I found a channel about advanced Nodejs topics so well explained!

  • @parassharma7041
    @parassharma7041 7 หลายเดือนก่อน +2

    Great content🤗 keep posting please

  • @madhavanand756
    @madhavanand756 7 หลายเดือนก่อน +1

    Wonderful video, awesome content.
    Looks like inbuilt socket.
    You content is super unique, indepth, hardly youtube videos on this. Lovee it keep posting.
    Next video idea, how about explaining unknown many inbuilt features of nodejs which are native in like like events, URL constructor etc.

  • @engelknight2059
    @engelknight2059 4 วันที่ผ่านมา

    thanks

  • @Crypto-Fascinations
    @Crypto-Fascinations 7 หลายเดือนก่อน

    Thanks for the useful informations :). I missed the implementation of the class EventEmitter and his methods ;)

  • @sergeyplotnikov4303
    @sergeyplotnikov4303 7 หลายเดือนก่อน +4

    Can you please make font bigger? Thank you!

  • @enogratechnologies1896
    @enogratechnologies1896 6 หลายเดือนก่อน

    Awesome lessons.

  • @codingclub4225
    @codingclub4225 6 หลายเดือนก่อน

    great content just love it❤❤

  • @Fullflexno
    @Fullflexno 6 หลายเดือนก่อน

    Good video!

  • @zzahappy7853
    @zzahappy7853 6 หลายเดือนก่อน

    Great content, in meanwhile you spoke about handling these events in different services. It's about don't wasting time in the publisher service right ? How you do that ? with cluster module or something else ?

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  6 หลายเดือนก่อน

      Hey, good question. The cluster mode is about scaling, while event emitters are in the realm of the "event-driven architecture". So if you want to free up the publisher service, the event-driven approach is the one you need. If despite that, the service is under high pressure, then scaling out with Kubernetes (if it's a microservices architecture) or simply the cluster mode of Node.js can be a good idea.

  • @jeancharliecharlie
    @jeancharliecharlie 4 หลายเดือนก่อน

    Nice video bro. I might not have a brain, but i got an idea.

  • @enogratechnologies1896
    @enogratechnologies1896 6 หลายเดือนก่อน

    Could you make a project video with testing and production stages. Thank you. 🙏

  • @hishamahammmedkm1936
    @hishamahammmedkm1936 7 หลายเดือนก่อน

    thank you

  • @alexenax1109
    @alexenax1109 3 หลายเดือนก่อน

    Master, do you have any course about topics like this and any other advanced topics about Node.js? Or can you suggest some that you consider valuable?

  • @TheIfankill
    @TheIfankill หลายเดือนก่อน

    Can we make EventEmmiter queue, and execute all asynchronous methods in this queue, or this is bad idea?

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  หลายเดือนก่อน

      I wouldn't do that, sounds like a bad idea :) I'd rather go for a robust queueing system / library if you require one

  • @user-ig3io2ol1c
    @user-ig3io2ol1c 4 หลายเดือนก่อน

    does it make the project more heavy ?

  • @code_react
    @code_react 7 หลายเดือนก่อน

    Well I tried to like this video 2 times.
    You have explain it very well. But for beginners it will be a little bit hard to absorb all the logic.