sqlalchemy / sqlalchemy/dogpile.cache
AsyncCacheRegion
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 299
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
adapt the approach taken by SQLAlchemy in https://github.com/sqlalchemy/sqlalchemy/blob/master/lib/sqlalchemy/util/_concurrency_py3k.py to provide for an AsyncCacheRegion frontend.
backends will as always present a "sync" interface that uses greenlets to adapt to the async backend. backends to start with:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading SQLAlchemy's referenced lib/sqlalchemy/util/_concurrency_py3k.py and then inspect dogpile.cache's region and backend interfaces. Define the AsyncCacheRegion frontend and its sync greenlet adaptation, beginning with aiomcache and aioredis; done means both listed async backends work through the new frontend.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- memcached, python, redis
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100