Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Performance optimizations #1114
When there are 1000 applications in the database, the first request after application restart to list applications takes 3-4 seconds and the following requests take about 30ms. The cache is prewarmed on application startup so it'll be always fast to the users.
Macroz left a comment
This caching approach needs to be discussed and documented well. There's now quite a bit of moving pieces so an ADR is at least warranted. There are also assumptions on cache timeouts, which should definitely be discussed.
I think the setup is not as simple as I'd like to be but at the moment I don't understand the new model well enough to make good suggestions.