File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Java 8 in Action this week in the Java 8 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: 8718
    
    6

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts 2 default behaviour to handle multiple requests
 
Similar Threads
Servlet and Requests
Clear my doubts please ...
struts2 thread safety and performance
How Action class instance will be created?
single instance of servlet (interview question)