memoize icon indicating copy to clipboard operation
memoize copied to clipboard

[Question] Does this library work with gevent (including dog-piling mitigation)?

Open altaha opened this issue 5 years ago • 1 comments

Hi, I came across this library when I was looking up ways to mitigate dog-piling when using gevent (with gunicorn), but the docs only talk about Asyncio and Tornado support, but no mention of gevent/greenlets. Would this library work with gevent? because I believe gevent would lead to the same dog-piling issue if I need to refresh the cache using a request to an external API that takes a few seconds.

Thanks for the great work!

altaha avatar Aug 17 '20 15:08 altaha

Hi, There is no integration with gevent/greenlets. I believe it won't work out-of-the-box unfortunately. You could take a look at integrating asyncio with gevent (as mentioned there https://github.com/gevent/gevent/issues/982 ). If you'll see some success, please share!

zmumi avatar Aug 21 '20 08:08 zmumi

not planning integration with gevent

zmumi avatar May 04 '24 16:05 zmumi