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

Inflated RAM usage #14

Open
soulseekah opened this issue Feb 21, 2020 · 0 comments
Open

Inflated RAM usage #14

soulseekah opened this issue Feb 21, 2020 · 0 comments

Comments

@soulseekah
Copy link

soulseekah commented Feb 21, 2020

We practically double the RAM by copying everything from Redis into PHP RAM space.
Raised in #13 by @msigley

This is an issue in some cases where we're talking about maybe 10k objects?
Say the values are 128M in serialized data length they would take up roughly 128M in MySQL RAM space (maybe), another 128M in Redis and another 128M in every PHP process.

Needs some benchmark love. But how can we limit the mget amount, make the mget more intelligent? Maybe keep a stack of LRU keys per URL?

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

1 participant