Hello there,

We are starting to use memcache and in my testing it seems I have
found an error with the core caching lib for memcache.

http://bin.cakephp.org/view/463397287

That paste shows the /app/config/core.php with the memcache section
uncommented.

Now when I load up my page then check my memcache stats

http://bin.cakephp.org/view/1042193906

It shows that I have had many sets, many gets but a lot of misses and
0 get_hits.
I then refresh my page again and the number of sets jumps but the
number of get_hits stays at 0 with many misses.
---------
 'cmd_get' => '300'
  'cmd_set' => '552'
  'get_hits' => '0'
  'get_misses' => '300'
-------

I then edit the cake/lib/cache/memcache.php file in the cake core and
change the write and read functions
http://bin.cakephp.org/view/361250114

And when I restart my memcached server, and then start hitting the
pages, I notice a bunch of sets, and then after that my get_hits start
going up and the sets not so much.

  'cmd_get' => '172'
  'cmd_set' => '8'
  'get_hits' => '143'
  'get_misses' => '29'

So I am a little confused. This is a pretty major issue....

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to