3 ms·
You can use caching to mimic this behaviour in Flask, I.e. http://flask.pocoo.org/docs/0.12/patterns/caching/ http://flask.pocoo.org/docs/0.12/patterns/caching
by quinnftw 9y ago
You can use caching to mimic this behaviour in Flask, I.e.
http://flask.pocoo.org/docs/0.12/patterns/caching/ http://flask.pocoo.org/docs/0.12/patterns/caching/
I'm not sure how this works with multiple threads though, I imagine you would have to synchronize it yourself.
- tyingq 9y agoRedis's lpush, and rpop plus some naming scheme might suffice. Everything is atomic, so the thread bit is covered.
- deleted 9y ago[deleted]