Skip to content
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

Open
ivmm opened this issue Mar 5, 2017 · 4 comments
Open

I need more information about this extension #1

ivmm opened this issue Mar 5, 2017 · 4 comments

Comments

@ivmm
Copy link

ivmm commented Mar 5, 2017

Please improve this extension, thanks

@ndobromirov
Copy link

ndobromirov commented Mar 6, 2017

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

@ivmm
Copy link
Author

ivmm commented Mar 9, 2017

@ndobromirov But if Redis or Memcached run with socket? APCu or PHP-UC wiil faster than them?

@ndobromirov
Copy link

No idea :). Benchmark your use-case.
Based on the maintainer's comments it should be faster. I still have not tested it.

The LCache as a library should solve your network overhead so even a local socket memcache should be better than a centralized pool.

@jchristi
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants