top | item 9760660

(no title)

joecarpenter | 10 years ago

They're being used side by side and running in separate processes.

For Campus Bubble, tornado app is a relatively simple push broker. Whenever something happens, Flask app pushes notification to a broker and broker pushes them in fan-out fashion to subscribers.

I even wrote another blog post a while ago about possible approach: http://mrjoes.github.io/2013/06/21/python-realtime.html

discuss

order

jkarneges|10 years ago

Wonderful article. Btw, you might find the Pushpin project interesting. It runs as a proxy so you don't need to split your app in two.

tedmiston|10 years ago

Can't speak much on Flask, but I've seen Tornado used similarly with Django.