I have a JavaEE application: 1 EAR using EJB and SOAP; some WARs using Servlets. Currently the EAR is deployed in Glassfish 3.1.2 (community edition) and the WARs either in tomcat or also on the Glassfish server.
The app is backed by a MySQL database and mostly does some trivial data massaging in and out of the database. There is virtually no static content. In the current architecture, virtually no requests can be answered by a war itself and always involve the EAR (it might be possible to change this with some re-engineering).
This works out of the box for 20 concurrent users and with some http thread pool tweaking for up to 200 concurrent users on a medium sized server.
I now have to scale the application to cope with 1.000.000 users (this is not an optimistic guess but a realistic requirement for the business; most of the 'users' will be devices deployed in the field).
How do I scale this application to deal with 1.000.000 concurrent users? Especially:
Hope you will find some useful information in the below URL.
http://highscalability.com/blog/category/example
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With