Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Redis DB size growing faster than expected? #30

Open
carterbryden opened this issue Jan 29, 2022 · 1 comment
Open

Redis DB size growing faster than expected? #30

carterbryden opened this issue Jan 29, 2022 · 1 comment

Comments

@carterbryden
Copy link

Hi there, thank you so much for creating this plugin!

I'm just wondering what kind of behavior I should expect as more domains are added to the caddy instances using redis for storage. What I've seen recently as the number of domains goes up (10s of thousands), is that the size of the DB is growing faster than I'd expect.

For instance, at 1000 domains it was ~40mb, at 10k it was ~560mb and at 12k it was ~700mb. So it seems like it's growing faster than the number of domains, which is fine, but I'm not sure if that's normal or if I've configured something incorrectly. Maybe some old keys are sticking around that shouldn't be, or something else completely?

Any advice at all will be so appreciated, thanks!

@gamalan
Copy link
Owner

gamalan commented Feb 2, 2022

Based on our my usage monitoring, it might be because the redis itself. Not really sure, currently me and my team are serving around ~x000 domains. Might need to do some audit later.

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

No branches or pull requests

2 participants