Click here to Skip to main content
11,570,945 members (49,933 online)

Web Development

 
Questionhow to get the live visitors of my website Pin
Tarek Showkot3-Jul-13 11:02
memberTarek Showkot3-Jul-13 11:02 
AnswerRe: how to get the live visitors of my website Pin
chester_it2111-Jul-13 9:36
groupchester_it2111-Jul-13 9:36 
QuestionWay to Configure Wordpress? Pin
David Kroj30-Jun-13 21:10
memberDavid Kroj30-Jun-13 21:10 
AnswerRe: Way to Configure Wordpress? Pin
Richard A. Abbott30-Jun-13 22:43
memberRichard A. Abbott30-Jun-13 22:43 
GeneralRe: Way to Configure Wordpress? Pin
David Kroj1-Jul-13 20:37
memberDavid Kroj1-Jul-13 20:37 
GeneralRe: Way to Configure Wordpress? Pin
Richard A. Abbott1-Jul-13 22:10
memberRichard A. Abbott1-Jul-13 22:10 
GeneralRe: Way to Configure Wordpress? Pin
David Kroj1-Jul-13 22:37
memberDavid Kroj1-Jul-13 22:37 
GeneralRe: Way to Configure Wordpress? Pin
Richard A. Abbott2-Jul-13 2:23
memberRichard A. Abbott2-Jul-13 2:23 
AnswerMessage Removed Pin
Member 1015486914-Jul-13 3:14
memberMember 1015486914-Jul-13 3:14 
GeneralRe: Way to Configure Wordpress? Pin
Dave Kreskowiak14-Jul-13 3:26
mvpDave Kreskowiak14-Jul-13 3:26 
QuestionWhat really "python" is used for? Pin
Toywarrior30-Jun-13 1:23
memberToywarrior30-Jun-13 1:23 
AnswerRe: What really "python" is used for? Pin
Richard MacCutchan30-Jun-13 1:32
mvpRichard MacCutchan30-Jun-13 1:32 
Generalserver: connection vs request - help needed to understand programming theory Pin
Member 1004803228-Jun-13 14:14
memberMember 1004803228-Jun-13 14:14 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Marc Clifton28-Jun-13 14:35
protectorMarc 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
memberMember 1004803229-Jun-13 4:50 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Marc Clifton29-Jun-13 5:43
protectorMarc Clifton29-Jun-13 5:43 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 6:33
memberMember 1004803229-Jun-13 6:33 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 9:44
memberMember 1004803229-Jun-13 9:44 
QuestionWCF Reporitng Service Pin
eddieangel28-Jun-13 6:44
membereddieangel28-Jun-13 6:44 
QuestionForm close code Pin
astrixtech28-Jun-13 3:39
memberastrixtech28-Jun-13 3:39 
SuggestionRe: Form close code Pin
David Mujica28-Jun-13 3:51
memberDavid Mujica28-Jun-13 3:51 
GeneralRe: Form close code Pin
astrixtech30-Jun-13 19:27
memberastrixtech30-Jun-13 19:27 
QuestionRadio button default checked Pin
astrixtech28-Jun-13 3:33
memberastrixtech28-Jun-13 3:33 
QuestionRe: Radio button default checked Pin
astrixtech30-Jun-13 19:29
memberastrixtech30-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
memberastrixtech30-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
memberastrixtech30-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
memberastrixtech30-Jun-13 23:00 
QuestionRegarding Wordpress Solution Pin
David Kroj26-Jun-13 22:57
memberDavid Kroj26-Jun-13 22:57 
GeneralHelp for a new and intersted to know about HTML Pin
BLue.iCe.BoX26-Jun-13 22:41
memberBLue.iCe.BoX26-Jun-13 22:41 
GeneralRe: Help for a new and intersted to know about HTML Pin
jaideepsinh27-Jun-13 0:45
memberjaideepsinh27-Jun-13 0:45 
GeneralRe: Help for a new and intersted to know about HTML Pin
BLue.iCe.BoX27-Jun-13 17:19
memberBLue.iCe.BoX27-Jun-13 17:19 
QuestionBreadcrump Pin
astrixtech26-Jun-13 20:28
memberastrixtech26-Jun-13 20:28 
QuestionRe: Breadcrump Pin
astrixtech30-Jun-13 19:30
memberastrixtech30-Jun-13 19:30 
QuestionCSS-Sprites question Pin
vkEmerson26-Jun-13 5:06
membervkEmerson26-Jun-13 5:06 
QuestionHighlight a button on mouse hover Pin
astrixtech26-Jun-13 2:53
memberastrixtech26-Jun-13 2:53 
AnswerRe: Highlight a button on mouse hover Pin
Graham Breach26-Jun-13 3:32
memberGraham Breach26-Jun-13 3:32 
AnswerRe: Highlight a button on mouse hover Pin
Blikkies26-Jun-13 3:34
memberBlikkies26-Jun-13 3:34 
GeneralRe: Highlight a button on mouse hover Pin
astrixtech26-Jun-13 20:13
memberastrixtech26-Jun-13 20:13 
GeneralRe: Highlight a button on mouse hover Pin
Blikkies26-Jun-13 20:57
memberBlikkies26-Jun-13 20:57 
GeneralRe: Highlight a button on mouse hover Pin
astrixtech26-Jun-13 21:14
memberastrixtech26-Jun-13 21:14 
GeneralRe: Highlight a button on mouse hover Pin
Blikkies26-Jun-13 21:24
memberBlikkies26-Jun-13 21:24 
GeneralRe: Highlight a button on mouse hover Pin
astrixtech27-Jun-13 2:15
memberastrixtech27-Jun-13 2:15 
GeneralRe: Highlight a button on mouse hover Pin
astrixtech27-Jun-13 2:38
memberastrixtech27-Jun-13 2:38 
GeneralRe: Highlight a button on mouse hover Pin
Blikkies27-Jun-13 2:53
memberBlikkies27-Jun-13 2:53 
GeneralRe: Highlight a button on mouse hover Pin
astrixtech27-Jun-13 3:02
memberastrixtech27-Jun-13 3:02 
Questionhow to develop webui like cloudify webui console? Pin
dk 30325-Jun-13 19:45
memberdk 30325-Jun-13 19:45 
AnswerRe: how to develop webui like cloudify webui console? Pin
Dennis E White25-Jun-13 20:27
professionalDennis E White25-Jun-13 20:27 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150624.2 | Last Updated 1 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid