Hi Guys, I wrote memcached like PHP-client and GO-server, with additional features, it is in production for a long time in my company (>6 months)... now it's open so if you're looking for some modern caching mechanism for PHP I invite everyone to use it... best of all, it works on windows and linux, has snapshots and rebalance and doesn't require to install anything for PHP, just the server.
Why you should use it?
- Much better Garbage Collection mechanism, that isn't skipping items with short TTLs like LRU, so memory is not occupied with garbage data even if item TTLs differ a lot.
- It doesn't require PHP extension (memcached ext. is buggy in PHP7)
- It allows modern caching patterns that prevent stampeding herd
- Very easy to use atomic operations based on generating value using callbacks
- Optimal caching and network settings (NODELAY, allow to set compression by ip range)
Let me know if you have any feedback!