aspose file tools
The moose likes Struts and the fly likes Doubt : How struts action servlet handles millions of requests at the same time. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Doubt : How struts action servlet handles millions of requests at the same time." Watch "Doubt : How struts action servlet handles millions of requests at the same time." New topic
Author

Doubt : How struts action servlet handles millions of requests at the same time.

DharmaRao Edula
Greenhorn

Joined: Feb 28, 2008
Posts: 9
How struts single action servlet handles millions of requests ata the same time. Does the framework creates millions of threads( sigle action servlet instance) to handle millions of reauest at the same time ( e.g if you take facebook it has millions of requests at the same time).
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8259

Struts does not create threads. The servlet container does. The container works like any other server, dispatching threads or processes to handle requests
The number of threads is limited by the operating system. It is unlikely that a single server (hardware or software) could handle more than a couple thousand simultaneous connections, much less a million, so it is common to use server farms or clusters to delegate requests among multiple machines.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Doubt : How struts action servlet handles millions of requests at the same time.
 
Similar Threads
Struts handle first request.
How control goes from jsp page to web.xml
How to pass url to Struts1.3
how does a single action servlet handles millions of requests at the same time in str
Action class object pool?