php provides an extension known as Semaphore, Shared Reminiscence, and IPC. It makes use of UNIX (and Linux and BSD) options which have been round for over 1 / 4 century and work nicely.
I’m wondering if it might be attainable to make use of that extension to construct a persistent object cache for WordPress?
An object cache can eliminate SQL bottlenecks, and so enhance end-user response time and save knowledge heart energy. These issues save carbon emissions.
There are some apparent disadvantages of shared reminiscence in comparison with utilizing redis or memcached, like restricted section measurement.
However there is a massive benefit: websites on (some) finances hosts might use it even with out accessing redis or memcached. And, there are numerous websites on finances hosts.
Has anyone achieved this? Tried to and failed? Any massive pitfalls?