Re: Limiting connection to mysql using old mysql module (not mysqli)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris wrote:

>> "Happening at the same time; simultaneous."
>> 
>>> 100 people come to your website - that's still going to be 100
>>> connections to the database, regardless of where the results come
>>> from.
>> 
>> But if that is one every hour for a hundred hours, your max
>> concurrency is 1.
> 
> I'm talking about "now" - not over any time span. 100 connections at
> the same time. If you get 100 people to your website at exactly the 
> same time, the query cache may be used - but you're still going to
> have 100 connections to your database.

For a while, yes.  I don't believe there is any sense in talking about
server load, number of connections, caching and concurrency without
talking about over how long. 

When you think length("now")==0, you can have an infinite number of
connections. 


/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux