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

Use HikariCP for DB connection pool #1

Open
rads opened this issue Jul 1, 2023 · 0 comments
Open

Use HikariCP for DB connection pool #1

rads opened this issue Jul 1, 2023 · 0 comments

Comments

@rads
Copy link

rads commented Jul 1, 2023

In a real app you'll probably end up using HikariCP to reduce the latency of your DB queries. This requires a bit of refactoring to replace the existing db usage with a middleware to make sure we only initialize the connection pool once when the server starts.

I have a branch here that I can extract into a separate PR if you're interested:
master...rads:todo-backend-reitit:rain

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

1 participant