aspose 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 Soft Skills this week in the Jobs Discussion 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: 18987
    
    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