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

Cache db queries to appconfig table #6145

Closed
karlitschek opened this issue Dec 1, 2013 · 7 comments
Closed

Cache db queries to appconfig table #6145

karlitschek opened this issue Dec 1, 2013 · 7 comments
Assignees
Milestone

Comments

@karlitschek
Copy link
Contributor

We do over 50 selects of the appconfig table. This is way to much can should be cached. A good option would be to store the already read data in an array in memory. The data is read from the database completely at first request.

  • Load the app config table and store it in the memory.
  • Change the config class to work on the memory array
  • Write requests should be written to the db and the cache should be flushed.
@ghost ghost assigned karlitschek Dec 1, 2013
@PVince81
Copy link
Contributor

PVince81 commented Dec 3, 2013

Sounds like a good plan :-)

@karlitschek
Copy link
Contributor Author

@icewind1991 Can you implement this before the feature freeze? Would be great.

@DeepDiver1975
Copy link
Member

@karlitschek
Copy link
Contributor Author

@DeepDiver1975 I saw the code too. But it doesn´t seems to work. I can see a lot of queries to the appconfig table. But there should be only one.

@DeepDiver1975 DeepDiver1975 added this to the ownCloud 7 milestone Jun 1, 2014
@PVince81
Copy link
Contributor

@icewind1991 can this be closed or is there anything else to be done ?

@icewind1991
Copy link
Contributor

I think this can be closed

@lock lock bot locked as resolved and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants