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

Refactor for redis Connections #5

Merged
merged 2 commits into from
May 29, 2023
Merged

Conversation

darron
Copy link
Owner

@darron darron commented May 29, 2023

We're now opening and closing Redis connections as needed:

Screenshot 2023-05-29 at 14 42 44

It's slower the first time a page is loaded BUT the cache handles subsequant page reloads without a problem.

We're trading some CPU time and a little speed - for first page reload - for minimal leftover connections that hang around and waste resources.

@darron darron self-assigned this May 29, 2023
@darron darron merged commit 88fbf55 into main May 29, 2023
@darron darron deleted the refactor-for-redis-connections branch May 29, 2023 20:45
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