Date: 09/12/98
- Next message: Mark Musone: "Re: [PHP3] ["fhttpd-does-it-right" semi-rant] Limiting maximum"
- Previous message: Alex Belits: "Re: [PHP3] Limiting maximum number of connections to datbase"
- In reply to: Mark Musone: "Re: [PHP3] Limiting maximum number of connections to database"
- Next in thread: Mark Musone: "Re: [PHP3] ["fhttpd-does-it-right" semi-rant] Limiting maximum"
- Reply: Mark Musone: "Re: [PHP3] ["fhttpd-does-it-right" semi-rant] Limiting maximum"
- Reply: Rasmus Lerdorf: "Re: [PHP3] ["fhttpd-does-it-right" semi-rant] Limiting maximum number of connections to database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 12 Sep 1998, Mark Musone wrote:
> But the point is they *CAN* possibly all do a DB query at the same time.
This is because Apache first shoots (connection is accepted by first
available process on Unix, or accepted by main thread and immediately
passed to first available thread on Windoze), then looks (parses the
request). It's fast, but any kind of request can end up in any process
(on Unix) or thread (on Windoze). When I wrote fhttpd connections-handling
code I avoided it by writing asyncronous accept-read-parse code and left
it in the main process, so it can choose, whom to pass the connection's fd
and parsed request by the result of parsing.
-- Alex-- 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
- Next message: Mark Musone: "Re: [PHP3] ["fhttpd-does-it-right" semi-rant] Limiting maximum"
- Previous message: Alex Belits: "Re: [PHP3] Limiting maximum number of connections to datbase"
- In reply to: Mark Musone: "Re: [PHP3] Limiting maximum number of connections to database"
- Next in thread: Mark Musone: "Re: [PHP3] ["fhttpd-does-it-right" semi-rant] Limiting maximum"
- Reply: Mark Musone: "Re: [PHP3] ["fhttpd-does-it-right" semi-rant] Limiting maximum"
- Reply: Rasmus Lerdorf: "Re: [PHP3] ["fhttpd-does-it-right" semi-rant] Limiting maximum number of connections to database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

