Discussion in 'Programming/Scripts' started by Prahlad Makwana, Dec 17, 2019.
Is it possible to share a single instance of a Memcache between multiple PHP projects?
Well, it is possible, but not recommended (at least the last time I looked it up). The projects can see/change the cache of other projects.
I switched to Redis, where I have an instance per project. Maybe it has changed in the meantime, my information is kinda old .. Since redis performed much better than memcached, I never looked back
See for examlpe:
It is possible to do that. Basically, Memcache is a memory store space.
and you can run memcache on one or more servers.
Hope this will help you.
Separate names with a comma.