Hi all,
I am in the design phase of our new project using J2EE. [Technologies to be used is STRUTS for frontend and Eclipse is IDE. Right now its Tomcat as the server]
Following is what I have for one of the requirements -
15000-30000 concurrent users accessing the web site and selecting products from the DB. So that can be 15000-30000 simultaneous access to DB also. For this this is what I have, the common general approach.
1. front end, I have a user input page
2. Struts action classes which takes the input params and calls DAO to get result.
3. DAO class which selects from DB based on criteria [ DAO accesses, gets connection from a dataasource which has a connection pool set up]. while selecting I have to do updates also. [Like the status of the selected product needs to be updated for each users]
4. DAO returns me a "List" - which I add to Struts form class
5. In display JSP I iterate thru the list and display values.
Now for this flow, what all do I need to consider so that I get good performances ?
Since its 15000-30000 concurrent users, do I need to add a delegate between actionc alss and DAO ?
in DAO, I am using batch[select and update], anything which I can consider for a good performance ?
Whats the best "session handling" technique which I can use.
Please suggest ideas.
Thanks,
I am in the design phase of our new project using J2EE. [Technologies to be used is STRUTS for frontend and Eclipse is IDE. Right now its Tomcat as the server]
Following is what I have for one of the requirements -
15000-30000 concurrent users accessing the web site and selecting products from the DB. So that can be 15000-30000 simultaneous access to DB also. For this this is what I have, the common general approach.
1. front end, I have a user input page
2. Struts action classes which takes the input params and calls DAO to get result.
3. DAO class which selects from DB based on criteria [ DAO accesses, gets connection from a dataasource which has a connection pool set up]. while selecting I have to do updates also. [Like the status of the selected product needs to be updated for each users]
4. DAO returns me a "List" - which I add to Struts form class
5. In display JSP I iterate thru the list and display values.
Now for this flow, what all do I need to consider so that I get good performances ?
Since its 15000-30000 concurrent users, do I need to add a delegate between actionc alss and DAO ?
in DAO, I am using batch[select and update], anything which I can consider for a good performance ?
Whats the best "session handling" technique which I can use.
Please suggest ideas.
Thanks,