Summary
Keywords
Full Transcript
Build your API for free with Zuplo: https://t.ly/J7cV5 ======⚡⚡⚡====== How can partitioning, worker threads, clustering, setImmediate(), and Promises help unblock the main thread and the event loop? Also, how can we prevent blocking the event loop, REDOS, and JSON DOS? Let's learn all of that. ☕ Buy me a coffee: https://www.buymeacoffee.com/softwaredeveloperdiaries 🙌 Become my Patreon and get exclusive perks: https://patreon.com/softdevdiaries 💼 Follow me on LinkedIn and drop me a message if you'd like: https://www.linkedin.com/in/gadirovgs/ 💻 Also, let's connect on GitHub: https://github.com/gusgad 📚 Resources: Practical guide to not blocking the Event Loop: https://www.bbss.dev/posts/eventloop/ Don't block the Event Loop: https://nodejs.org/en/learn/asynchronous-work/dont-block-the-event-loop#blocking-the-event-loop-json-dos Ways to avoid blocking the Event Loop: https://medium.com/dkatalis/eventloop-in-nodejs-ways-to-block-it-and-ways-to-avoid-b60a65bab2be Worker threads: https://youtu.be/MuwJJrfIfsU Clustering: https://youtu.be/6lHvks6R6cI My side-project 🤓: https://trennbar.com/ Code: https://github.com/gusgad/youtube-tutorials/tree/nodejs-event-loop-perf And don't forget to subscribe for more videos like this 😊
