php3-list | 199901
Date: 01/25/99
- Next message: Juan Pablo Marichal Catalan: "Re: [PHP3] Help with form parameters"
- Previous message: Brian Leyton: "RE: [PHP3] Short GD+TTF article on phpbuilder.com"
- In reply to: Aaron Gomez: "RE: [PHP3] db connections, session state"
- Next in thread: Joey Smith: "Re: [PHP3] db connections, session state"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Aaron Gomez said:
> So for persitent connections, I can never have more than 25 simultaneous
> users since that is my database license limit. And for non-persistent
> connections, I possibly could, since not all users will have an open
> connection (i.e., requesting pages) simultaneously. However, if I do
> have more than 25, theoritically, I run the risk of reaching my limit of
> 25 connections. Correct?
Well, Joey brought up an interesting question, which is:
What exactly do the sybase_max_persistent & sybase_max_links parameters do?
Knowing the answer could be very instructive. My impression is that if you
have say, 25 HTTPDs, and each one has a persistent connection to the
database, then as long as you have less than 25 simultaneous hits, everyone
will be served immediately. If you have more than 25, then users #26+ will
simply have to wait until one of the 25 HTTPDs becomes available. If that
takes too long, then the browser will time out with an error.
I'm not sure I see how those parameters would help things. Remember that
each HTTPD process gets its own connection to the database. So is PHP going
to keep track of how many connections have been opened, and somehow manage
them?
>
> How do you plan on overcomming your 10 connection problem?
Well, it would be nice to hear from one opf the developers who could shed
some light on these issues. If my site is very low traffic, I could
probably get away with the 10 connections, but I'd expect performance to
suffer pretty quickly once traffic builds. The obvious result is that I'd
simply have to buy a license for more connections.
Brian
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Juan Pablo Marichal Catalan: "Re: [PHP3] Help with form parameters"
- Previous message: Brian Leyton: "RE: [PHP3] Short GD+TTF article on phpbuilder.com"
- In reply to: Aaron Gomez: "RE: [PHP3] db connections, session state"
- Next in thread: Joey Smith: "Re: [PHP3] db connections, session state"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

