Node.js Performance: optimizing the Event Loop

Publié le: 05 août 2024
sur la chaîne: Software Developer Diaries
8,982
285

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/software...
🙌 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: 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/asynchron...
Ways to avoid blocking the Event Loop:   / eventloop-in-nodejs-ways-to-block-it-and-w...  
Worker threads:    • How to use Multithreading with "worker thr...  
Clustering:    • Scaling your Node.js app using the "cluste...  
My side-project 🤓: https://trennbar.com/
Code: https://github.com/gusgad/youtube-tut...

And don't forget to subscribe for more videos like this 😊


Sur cette page du site, vous pouvez voir la vidéo en ligne Node.js Performance: optimizing the Event Loop durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Software Developer Diaries 05 août 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 8,982 fois et il a aimé 285 téléspectateurs. Bon visionnage!