DEV Community

Discussion on: How would you tackle this NodeJS project?

Collapse
 
hasnaindev profile image
Muhammad Hasnain

Thanks!

I looked into general optimizations for NodeJS apps and your answer is on point, I doubt that there will be a better one but if someone gives it, I'll notify you in the comment perhaps. One article, called, "CPU Intensive Node.js" suggested that one should use multiple treads along with Redis and a priority queue to handle CPU intensive tasks. It is exactly what you suggested.