1
tedsmith
MySQL - What defines a Concurrent Connection?
  • 2005/11/19 22:01

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


I have asked this question at the MySQL Forums website, but it has not yet had a reply, so I thought I'd try here. It's purely MySQL related though I'm afraid. You can see my post at MySQL here.

The question is this :

I am trying to understand exactly what defines a 'concurrent connection'. I understand it means multiple connections to the MySQL database, but between what and to what? A user, a website, a server, several servers, several websites? For example, say a single website has a MySQL backend...If there are 20 users of the website in any particular time, is that 20 'concurrent connections' to the MySQL database? Or, is the website itself linking to the SQL server just 1 'concurrent connection' regadless of how many users are using the site? So you'd have to have say 10 sites accessing the same SQL server to have 10 concurrent connections? So if there were say 10 websites running on the same MySQL database, that would be 10 concurrent connections even if each of the 10 website had, say, 100 users each at the same time?

Can anyone help me understand this?

Thanks

Ted

2
LazyBadger
Re: MySQL - What defines a Concurrent Connection?

Short rule (if "persistent connections" disabled)
1 client - 1 connection from forked apache process to MySQL backend.
With persistent connection situation is ligtly different
- 1 Connection established and never closed for 1 client IP, not client connection
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

Login

Who's Online

440 user(s) are online (67 user(s) are browsing Support Forums)


Members: 0


Guests: 440


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits