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)???
SHMOP?
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
It never registered when I read the NOTE in the documentation.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).
I never develop under Windows except when testing the final product, so I guess I've just always avoided SMHOP just cause...