Relative Content

Tag Archive for node.jsexpressamazon-ec2web-worker

Aren’t workers supposed to help handling more requests? (node js)

I have an Express app that’s already deployed on AWS. We encountered a problem where, after a certain number of concurrent users were utilizing a Python microservice internally called by our Express app, the app crashed. Our whole EC2 instance went down, not just the node or the python container. Our node app had a cluster of workers, and within each of these workers, the Express app was running. This was the code before i got rid of the workers: