lablup / lablup/backend.ai

SQLAlchemy query caching

Open
#2,547 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

Aside #2546, let's also consider activating SQL-level caches in SQLAlchemy.

We need to check:

- Compatibility with asyncio
- Compatibility with the core API in addition to ORM
- Consistent cache-key representation of SQL statements(e.g., Does it use the same cache entry for the same query with differently-ordered columns in the WHERE clause?)
- Potential complexity for SQLAlchemy v2.0 migration
Candidates:

- https://docs.sqlalchemy.org/en/20/orm/examples.html#module-examples.dogpile_caching
- https://dogpilecache.sqlalchemy.org/en/latest/

JIRA Issue: BA-105

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.