News for hackers. Stuff that matters.
Re:Write Fast Apps Using Async Python 3.6 and Redis by quinnftw on Thursday April 27, 2017 @04:06PM (#14214262)
You can use caching to mimic this behaviour in Flask, I.e.

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.

Re:Write Fast Apps Using Async Python 3.6 and Redis by tyingq on Thursday April 27, 2017 @04:25PM (#14214390)
Redis's lpush, and rpop plus some naming scheme might suffice. Everything is atomic, so the thread bit is covered.