-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need more information about this extension #1
Comments
In very short, the high level details that I know: This extension aims to add a PHP process-level persistent K/V storage as an extension. As already stated in the docks, the API should be very similar to one of APCu. The difference would be both the persistence and that this extension should be less susceptible to performance degradation due to data fragmentation. The aim is to be used as a L1 cache driver in the LCache library eco-system. In terms of speed it should be a bit slower than APCu (due to the I/O involved), but faster than any external K/V store that is network based (memcache / Redis). Some more details and benchmarks (old) can be seen here: lcache/lcache#80 |
@ndobromirov But if Redis or Memcached run with socket? APCu or PHP-UC wiil faster than them? |
No idea :). Benchmark your use-case. The LCache as a library should solve your network overhead so even a local socket memcache should be better than a centralized pool. |
See David Strauss's comments here: lcache/lcache#87 (comment) . The TL;DR is basically that php-uc performance was about the same as a local memcache over unix socket, however there is no memcache L1 interface written yet for LCache but it doesn't sound like anyone is working on it. |
Please improve this extension, thanks
The text was updated successfully, but these errors were encountered: