pinterest / pymemcache

A comprehensive, fast, pure-Python memcached client.
https://pymemcache.readthedocs.io/
Apache License 2.0
768 stars 177 forks source link

Would it be feasible to provide asyncio compatible client? #533

Open takeda opened 1 year ago

takeda commented 1 year ago

I know this package is synchronous, but am wondering (based on how it was designed) is there possibility that it could have async client, or changes needing to be done would be so massive, it would warrant complete rewrite?

I'm aware of emcache, aiomcache which are async, but without a doubt this package has most features and is most popular.

jogo commented 1 year ago

Hi @takeda I haven't dug into how invasive it would be to make this client async, but if I had to guess we would end up adding some separate async clients in addition to the existing ones to support this.

That being said. we would be happy to accept contributions to add optional async support