my dog learned polymorphism*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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: 8710
    
    6

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://aspose.com/file-tools
 
subject: Doubt : How struts action servlet handles millions of requests at the same time.
 
Similar Threads
How control goes from jsp page to web.xml
Struts handle first request.
Action class object pool?
how does a single action servlet handles millions of requests at the same time in str
How to pass url to Struts1.3