Slide 18
Slide 18 text
CAVEATS AND
OTHER THINGS
- Don’t use Worker threads for parallelizing
I/O operations, the native Node
architecture can do that more quickly
- Creating worker threads is not cheap, so it’s
better to create and use a thread pool
instead
- If there are async methods available, it’s
better to use them, rather than off-loading
to your own worker thread
@Srushtika |
Brighton Web Dev Meetup |