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

Support for RelStorage cache-local-dir? #114

Open
cekk opened this issue Mar 14, 2023 · 4 comments
Open

Support for RelStorage cache-local-dir? #114

cekk opened this issue Mar 14, 2023 · 4 comments

Comments

@cekk
Copy link
Member

cekk commented Mar 14, 2023

Can be useful this configuration in relstorage.conf?
This is optional, so i don't know what's the best way to add it into the relstorage.conf file.

@fredvd
Copy link
Sponsor Member

fredvd commented Apr 7, 2023

@cekk Can you explain a bit more about what this does, what the advantages are and what it would do to storage or performance of a running container?

@cekk
Copy link
Member Author

cekk commented Apr 7, 2023

can be useful to persist cache on an external volume that will not be thrown when you restart the image for example.

https://relstorage.readthedocs.io/en/latest/relstorage-options.html

@fredvd
Copy link
Sponsor Member

fredvd commented Apr 7, 2023

I see. But in many container environments nowadays the containers can get redeployed on different nodes. So you would have to define a network storage that gets accessed over an internal network. Then can’t you beter skip the cache and improve caching on the database server? Or just let it handle the traffic. Unless you run into performance issues there…

@djay
Copy link
Member

djay commented Apr 8, 2023

A cache can be rebuilt it it's redeployed to another server. Fast startup times help. It does nothing to change performance while running.

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