Skip to content

Cache jobs in pool manager - #547

Merged
gabriel-samfira merged 1 commit into
cloudbase:mainfrom
gabriel-samfira:better-scale-down-for-pools
Oct 4, 2025
Merged

Cache jobs in pool manager#547
gabriel-samfira merged 1 commit into
cloudbase:mainfrom
gabriel-samfira:better-scale-down-for-pools

Conversation

@gabriel-samfira

Copy link
Copy Markdown
Member

This change caches jobs meant for an entity in the pool manager. This allows us to avoid querying the db as much and allows us to better determine when we should scale down.

There are also some changes to the database connection params. We how set _txlock=immediate.

This change caches jobs meant for an entity in the pool manager. This
allows us to avoid querying the db as much and allows us to better determine
when we should scale down.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira
gabriel-samfira merged commit a36d01a into cloudbase:main Oct 4, 2025
4 checks passed
@gabriel-samfira
gabriel-samfira deleted the better-scale-down-for-pools branch October 4, 2025 21:49
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

Successfully merging this pull request may close these issues.

1 participant