DankMemer/imgen

Cluster Express Server

melmsie opened this issue · 1 comments

It would greatly help the performance of the image commands if they were clustered. I'm not sure whether the cluster would be of server.js or the individual image commands as I don't have much experience with clustering.

For reference, there are usually 10k-20k image commands ran per day, so single thread is hurting.

Maybe you're looking after something like pm2 and its cluster mode.

#hacktoberfestBroughtMeHere