I got a server overload and ultimately 502 gateway error from my AWS ALB.
The machine is specc'd with 8GB RAM and 2 cores running the LMS and RCE on it. Delayed jobs is running seperately.
The alarming thing is only 18-20 users were using it simultaneously.
running htop - I could see the two cores hitting 100%
Does anyone have a rough guide to what server sizing we are looking at to host 300-500 students in a school?
We are setting up an auto-scaling group to handle peak load but we didn't have any idea about estimating loads - until now.
Also, has anyone managed to successfully run the RCE on a seperate instance? I kept getting UnAuthorized although hitting '/rce' would return 200 with the message "Hello, from RCE Service"
I suspect the RCE (process handled by PM2) and Canvas (handled by Passenger) are to blame. maybe I need to run RCE with passenger and ditch PM2.