sqlalchemy / sqlalchemy/dogpile.cache

AsyncCacheRegion

Open
#199 15 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

asyncio feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.