June 2014
Intermediate to advanced
696 pages
38h 52m
English
In the traditional threaded web model, a request comes to a webserver and is assigned to an available thread. The handling of work for that request continues on that thread until the request is complete and a response is sent.
Figure 4.1 illustrates the threaded model processing two requests, GetFile and GetData. The GetFile request opens the file, reads the contents, and then sends the data back in a response. All this occurs in order on the same thread. The GetData request connects to the database, queries the necessary data, and then sends the data in the response.
Figure 4.1 Processing two requests ...
Read now
Unlock full access