Performance tips

Hi All,

Can cuba platform handle let say 10.000 concurrent connection by using default set up?
If it doesn’t is there configuration setup/deployment trips & trick to achieve that number ?

Thanks

Hi Arifian,

You can scale web tier servers horizontally as described in the docs (see stage 3-4).
Usually, each user session takes from 5M to 20M RAM on web server, depending on the nature of your application and how much data is loaded to your application screens. So for average 10M per user and 10G heap on the server you need 10 servers to serve 10K concurrent users.

Our Thesis ECM application was successfully load-tested for 20K concurrent users.

Regards,
Konstantin

1 Like

@knstvk : Hi thanks for give me approximation calculation on web tier.

How about middleware tier ? should it need to horizontally scalled too ?

Yes you can.
But unlike web tier, CUBA middle tier does not impose any specific constraints on memory or CPU consumption. So whether you need multiple middle tier servers or not depends only on your application.

1 Like