1

SwampDragon seems like a nice library, tightly coupled with Django. Uses Tornado's ioloop to handle websockets.

But does it do async database queries, or sync (blocking) queries? Postgres or MySQL. How would one go about handling computationally intensive websocket "request" (message from client) without blocking the event loop? Or is that automagically handled by Tornado?

frnhr
  • 12,354
  • 9
  • 63
  • 90

1 Answers1

0

I used SwampDragon to send client notifications, and I do queries to DB I've combined SD with Celery to do the async work. Maybe you could try it. Good Luck.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Gocht
  • 9,924
  • 3
  • 42
  • 81