permaculture playing cards*
The moose likes Struts and the fly likes struts 2 default behaviour to handle multiple requests Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 2 default behaviour to handle multiple requests" Watch "struts 2 default behaviour to handle multiple requests" New topic
Author

struts 2 default behaviour to handle multiple requests

Jasvir Rupana
Ranch Hand

Joined: Oct 13, 2010
Posts: 52
Hi all,
if our application is having potential of getting thousands of concurrent requests, can we go with struts2 ? i am scared because by default struts creates new instance for new request. also i don't want single instance to handle all the request with threads .

any suggestions please.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

There is no reason to expect Struts cannot handle thousands of concurrent requests. Creating Action instances is probably the least of your performance worries. You'll need enterprise-level hardware for both your application and database server (probably more than one per), a very fast network, an efficient design and so on. Our EnterprisePerformance FAQ is a good place to start.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Jasvir Rupana
Ranch Hand

Joined: Oct 13, 2010
Posts: 52
thanks alot Ess
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts 2 default behaviour to handle multiple requests