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

Knowledge Sharing of db session management optimization #840

Open
qcdyx opened this issue Nov 28, 2024 · 0 comments
Open

Knowledge Sharing of db session management optimization #840

qcdyx opened this issue Nov 28, 2024 · 0 comments
Assignees

Comments

@qcdyx
Copy link
Contributor

qcdyx commented Nov 28, 2024

Connection Pooling:
Utilize connection pooling to efficiently manage database connections and reduce overhead from establishing new connections.

Global Engine:
Introduce a global database engine to avoid redundant creation of database engines and connection pools, ensuring consistent and optimized resource usage.

Session Isolation:
Manage the session lifecycle on a per-request basis to ensure proper isolation between requests, improving stability and reducing potential issues with session conflicts.

@qcdyx qcdyx self-assigned this Nov 28, 2024
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