File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes The way multi-threaded servers act Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "The way multi-threaded servers act" Watch "The way multi-threaded servers act" New topic
Author

The way multi-threaded servers act

Mark O' Sullivan
Ranch Hand

Joined: Aug 17, 2009
Posts: 160
Hi,
I'm new to multi-threaded servers, so just wondering, say, a server has 50 identical requests at the same, does he just treat them randomly, say service maybe request 49 before request 23, for example? A clear example could be 50 people trying to book a ticket on ticketmaster and just be chance 1 of the 50 gets booked. This right?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18116
    
    8

Yes. No. Actually the main point of multi-threaded servers is that they don't service the requests one at a time. They will be servicing several requests at the same time. So there's no "before".
Mark O' Sullivan
Ranch Hand

Joined: Aug 17, 2009
Posts: 160
Cheers, thanks, get concept.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The way multi-threaded servers act
 
Similar Threads
Multi-threading Question about network query
zahara
making Thread of methods
How can J2EE Programming be used to leverage Multicore processors?
best performance / practices for read and parse files ?