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 new connection pooling feature from Django 5.1 #5209

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

Use new connection pooling feature from Django 5.1 #5209

krysal opened this issue Nov 28, 2024 · 0 comments
Assignees
Labels
💻 aspect: code Concerns the software code in the repository 🧰 goal: internal improvement Improvement that benefits maintainers, not users 🟧 priority: high Stalls work on the project or its dependents 🧱 stack: api Related to the Django API

Comments

@krysal
Copy link
Member

krysal commented Nov 28, 2024

Current Situation

After upgrading aiohttp to version 3.11.2 (#5165), the API database started consuming more memory and increasingly opening more connections.

Image

Suggested Improvement

This is a new feature included in Django for PostgreSQL that could help reduce this resource consumption.

Additional context

Related to #4015.

@krysal krysal added 💻 aspect: code Concerns the software code in the repository 🟧 priority: high Stalls work on the project or its dependents 🧰 goal: internal improvement Improvement that benefits maintainers, not users 🧱 stack: api Related to the Django API labels Nov 28, 2024
@krysal krysal self-assigned this Nov 28, 2024
@openverse-bot openverse-bot moved this to 📋 Backlog in Openverse Backlog Nov 28, 2024
@openverse-bot openverse-bot moved this from 📋 Backlog to 📅 To Do in Openverse Backlog Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🧰 goal: internal improvement Improvement that benefits maintainers, not users 🟧 priority: high Stalls work on the project or its dependents 🧱 stack: api Related to the Django API
Projects
Status: 📅 To Do
Development

No branches or pull requests

1 participant