mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-11-02 19:18:34 +08:00
Refine text - dont perform CPU tasks
This commit is contained in:
@ -494,7 +494,7 @@ All statements above will return false if used with `===`
|
||||
|
||||
**TL;DR:** Node is awfully bad at doing CPU intensive tasks like gzipping, SSL termination, etc. Instead, use a ‘real’ middleware services like nginx, HAproxy or cloud vendor services
|
||||
|
||||
**Otherwise:** Your poor single thread will keep busy doing networking tasks instead of dealing with your application core and performance will degrade accordingly
|
||||
**Otherwise:** Your poor single thread will keep busy doing infrastructural tasks instead of dealing with your application core and performance will degrade accordingly
|
||||
|
||||
|
||||
🔗 [**Read More: Delegate anything possible (e.g. gzip, SSL) to a reverse proxy**](/sections/production/delegatetoproxy.md)
|
||||
|
||||
Reference in New Issue
Block a user