|
Comments for: ying20000602
| Message # 1017966: |
|
Date: 11/19/03 08:17
By: JMattB Subject: Performances of mysql session handlers I used to work with a mysql session handler like this one... I timed 100 repeats of the following operations on a normal linux box: ---- (with normal file session handler) session start increment session var session write close ---- = 4/100 ms ---- (with mysql session handler : 2 queries) open db connection (with connect) set mysql handler session start increment session var close_write close db connection ---- = 250/100 ms ---- the same with pconnect ---- = 130/100 ms and just to compare : ---- open db connection (with connect) close db connection ---- = 65/100 ms ---- the same with pconnect ---- = 17/100 ms better tests could be done, but this gives a first idea... TO CONCLUDE : you should use mysql session handler ONLY if you need extra features than file session handler |
Previous Message | Next Message |


