SHMOP?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

SHMOP?

Post 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)???
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post 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...
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post 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...
Post Reply