Re: cvs: pear /PECL/session_pgsql README session_pgsql.c session_pgsql.h
| From: | Yasuo Ohgaki | Date: | Wed, 16 Jan 2002 11:59:34 +0000 |
| Subject: | Re: cvs: pear /PECL/session_pgsql README session_pgsql.c session_pgsql.h | ||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-1975@lists.php.net to get a copy of this message | ||
Thies C. Arntzen wrote:
On Tue, Jan 15, 2002 at 03:21:04AM -0000, Yasuo Ohgaki wrote:These are the simple benchmark result from my PCs. There are about 20K sessions already and tested with ab -c 50 -n 5000 <test_php_script_url> It is about 30-40% slower when PostgreSQL is installed on the same PC, (60-70 session operations/sec) It is as fast as files save handler when PostgreSQL is installed on other PC, Filesystem is ReiserFS, so files save handler's result must be better than ext2. (about 100 session operations/sec) Celeron 433Mhz/384MB RAM/ATA33 HDD (httpd) Pentinum III 450Mhz/512MB RAM/ATA66 HDD (postgresql) Linux 2.4.4/glibc 2.2.2/ReiserFS filesystem PHP 4.2.0-dev (debug enabled) msession performs about 100 session operations/sec when msessiond is installed on the same PC. If msessiond is installed on other PC, I expect 30-40% better performence. -- Yasuo Ohgaki _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.comyohgaki Mon Jan 14 22:21:04 2002 EDTModified files: /pear/PECL/session_pgsql README session_pgsql.c session_pgsql.h Log:Added session access counter # The reason why I add these are I would like to query # with SQL. # BTW, I just did simple bench against equiv. user save # handler. This module is 2 times faster than user save # handler version :)great! how does it compare to the builtin filesystem session-handler?