Click here to Skip to main content
15,888,579 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Way to Configure Wordpress? Pin
David Kroj1-Jul-13 22:37
David Kroj1-Jul-13 22:37 
GeneralRe: Way to Configure Wordpress? Pin
User 17164922-Jul-13 2:23
professionalUser 17164922-Jul-13 2:23 
AnswerMessage Closed Pin
14-Jul-13 3:14
Member 1015486914-Jul-13 3:14 
GeneralRe: Way to Configure Wordpress? Pin
Dave Kreskowiak14-Jul-13 3:26
mveDave Kreskowiak14-Jul-13 3:26 
QuestionWhat really "python" is used for? Pin
User 1006066530-Jun-13 1:23
User 1006066530-Jun-13 1:23 
AnswerRe: What really "python" is used for? Pin
Richard MacCutchan30-Jun-13 1:32
mveRichard MacCutchan30-Jun-13 1:32 
Generalserver: connection vs request - help needed to understand programming theory Pin
Member 1004803228-Jun-13 14:14
Member 1004803228-Jun-13 14:14 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Marc Clifton28-Jun-13 14:35
mvaMarc Clifton28-Jun-13 14:35 
In the good ol' days of Netscape, you could actually configure the number of concurrent connections. At that time, IE was pathetic, I believe allowing for only 2 concurrent connections, while Netscape allowed (by default) for up to 6, and therefore significantly outperformed IE. Mind you, I'm talking 13 years ago or so.

The interesting thing was, the number of concurrent connections was also in the [some committee's] standards, and Netscape actually exceeded that. Web servers could theoretically block too many connections, and in fact, in my analysis of some websites, did so. Which is a good thing, when you think about it.

Now, as to your question, each connection for a resource on the web page is handled by a separate thread on the web server, up to the limit of the thread pool on the web server. Now, the database connections (at least if they're written in .NET) have a connection pool as well, which may be different from the web server's thread pool, so you have to consider both the web server's thread pool mechanism as well as potentially the thread pool of the database, if resources are stored in a database rather than the file system.

And finally, the mechanism that handles each request as a separate thread is not necessarily implemented in the web server's application code--by the time the web server application gets the request, it's already running in a separate thread by virtue of the underlying TCP/IP "open" process (that is to say, the OS and/or the service that runs web server applications), so the web server application doesn't need to do anything more than handle the request.

And yes, it's absolutely necessary because (I believe) the service that handles the TCP/IP connection request is agnostic to who is making the request, so threading is necessary to ensure the performance of all connection requests, regardless of the source. Obviously, the aforementioned "don't allow more than [x] connections per client" does pay attention to who is making the connection request. But other than blocking too many connections, I believe everything funnels through the same process.

Hopefully people who know more about this than me will correct any errors I've made in this discussion! Smile | :)

Marc

GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 4:50
Member 1004803229-Jun-13 4:50 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Marc Clifton29-Jun-13 5:43
mvaMarc Clifton29-Jun-13 5:43 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 6:33
Member 1004803229-Jun-13 6:33 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 9:44
Member 1004803229-Jun-13 9:44 
QuestionWCF Reporitng Service Pin
eddieangel28-Jun-13 6:44
eddieangel28-Jun-13 6:44 
QuestionForm close code Pin
astrixtech28-Jun-13 3:39
astrixtech28-Jun-13 3:39 
SuggestionRe: Form close code Pin
David Mujica28-Jun-13 3:51
David Mujica28-Jun-13 3:51 
GeneralRe: Form close code Pin
astrixtech30-Jun-13 19:27
astrixtech30-Jun-13 19:27 
QuestionRadio button default checked Pin
astrixtech28-Jun-13 3:33
astrixtech28-Jun-13 3:33 
QuestionRe: Radio button default checked Pin
astrixtech30-Jun-13 19:29
astrixtech30-Jun-13 19:29 
AnswerRe: Radio button default checked Pin
thanh_bkhn30-Jun-13 20:37
professionalthanh_bkhn30-Jun-13 20:37 
QuestionRe: Radio button default checked Pin
astrixtech30-Jun-13 21:12
astrixtech30-Jun-13 21:12 
AnswerRe: Radio button default checked Pin
thanh_bkhn30-Jun-13 21:25
professionalthanh_bkhn30-Jun-13 21:25 
GeneralRe: Radio button default checked Pin
astrixtech30-Jun-13 21:40
astrixtech30-Jun-13 21:40 
GeneralRe: Radio button default checked Pin
thanh_bkhn30-Jun-13 21:55
professionalthanh_bkhn30-Jun-13 21:55 
GeneralRe: Radio button default checked Pin
astrixtech30-Jun-13 23:00
astrixtech30-Jun-13 23:00 
QuestionRegarding Wordpress Solution Pin
David Kroj26-Jun-13 22:57
David Kroj26-Jun-13 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.