Click in order · NestJS course · Module 8: Caching and Performance
Techniques to Avoid Blocking
Arrange techniques for avoiding event loop blocking from simplest:
Items to click
- Implement clustering with PM2
- Move heavy computations to Bull queues
- Use async/await instead of synchronous operations
- Use worker threads for CPU-bound tasks
You can check the correct answer by solving this task in the CodeWorlds game.