Re: RE: Re: Sqlite wrapper for Log package
| From: | Alexey Borzov | Date: | Mon, 05 Jan 2004 15:43:28 +0000 |
| Subject: | Re: RE: Re: Sqlite wrapper for Log package | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24776@lists.php.net to get a copy of this message | ||
Hi!
Bertrand Mansion wrote:
Alexey, would that be ok for a test script : <?php require_once('Log.php'); dl('sqlite.so'); echo 'starting benchmark'; $db = sqlite_open('log.db', 0666, $error); $logger =& Log::factory('sqlite', 'log_table', 'test', $db); $logger->log('benchmark event', PEAR_LOG_WARNING); sqlite_close($db); echo 'done'; ?>Yes, why not.
How many concurrent clients and total requests do you suggest ?Well, looking at the results in your previous message, I'd say use around 2000 requests and 15-20 concurrent clients.