Page 1 of 1

SHMOP?

Posted: Mon Dec 10, 2007 5:30 am
by alex.barylski
Has anyone ever used this to boost the efficiency of your app?

I've known about it for a long time but have never bothered to use it - mostly for the fact it's not uspported under Windows.

I'm now considering it but I can't really think of any objects which would benefit from memory caching - just quickly glancing at the API I would assume that objects need to be serialized still.

Maybe objects which are expensive to create. However none of my objects are that complicated justify caching in RAM. I suppose global objects such as authentication...might make good candidates...

Anyways, my point was to ask if you have you & how did you use it (ignoring IPC)???

Posted: Tue Dec 11, 2007 9:06 am
by Maugrim_The_Reaper
I use memcache, though I've recently been doing some work on running PHP under Windows. I even have a functional compilation environment on a Windows Vista workhorse. Are you sure it's not supported under Windows? I'm almost certain it does under any NT derivative...

Posted: Tue Dec 11, 2007 3:46 pm
by alex.barylski
Versions of Windows previous to Windows 2000 do not support shared memory. Under Windows, Shmop will only work when PHP is running as a web server module, such as Apache or IIS (CLI and CGI will not work).
It never registered when I read the NOTE in the documentation. :P

I never develop under Windows except when testing the final product, so I guess I've just always avoided SMHOP just cause...