TIL some Node

Takeaways

Asnyc Event loop vs Conurrency via threads

  • Async event loop is good for high throughput, low latency I/O bound tasks. UI programming is a good example of this
  • Concurrency via threads more efficient for CPU bound tasks

Src

Related reading

Classic resource on how the JS event loop works. I’m overdue to rewatch this😉