php session memcache handler 3x more sets than gets
| From: | Stan | Date: | Thu, 04 Jun 2009 15:16:57 +0000 |
| Subject: | php session memcache handler 3x more sets than gets | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-6446@lists.php.net to get a copy of this message | ||
Hi,
I hope this is a right place to post this question, I apologize if is not.
We are testing out memcache as session handler on oneof our production server. We have got installed version 3.0.4 of PECL memcache package.
Despite read and write data to memcahce server seems to be pretty much the same we get 3x more set command than get commands which seems a little weird. I would expect 1:1 get to set similar to write and read data amount ratio.
Is there a logical explanation for this?
Thanks a lot
Stan
here is memcached stats:
[pid] => 12709
[uptime] => 98239
[time] => 1244029678
[version] => 1.2.6
[pointer_size] => 64
[rusage_user] => 359.122443
[rusage_system] => 533.937369
[curr_items] => 149742
[total_items] => 12530243
[bytes] => 412168840
[curr_connections] => 58
[total_connections] => 4983
[connection_structures] => 286
[cmd_get] => 5765795
[cmd_set] => 16948817
[get_hits] => 5683669
[get_misses] => 82126
[evictions] => 0
[bytes_read] => 50024940586
[bytes_written] => 50218604759
[limit_maxbytes] => 1073741824
[threads] => 4