Django Realtime Apps

with

Swamp Dragon

by

James Pacileo

What is Real-Time?

Realtime is tough:

 

HTTP doesn't like realtime:

- Requests/

- HTTP is stateless

- Request -> Response

- Cookies/Session

 

The Django Gaming overlords are coming!

Realtime is tough:

 

HTTP doesn't like realtime:

- HTTP is stateless

- Request -> Response

- Cookies/Session

 

We use hacks:

 

- AJAX

- Short polling

- Long Polling

 

A better way: Websockets!

 

 

 

What is SwampDragon?

- websockets

- Tornado

- SockJS

- tornado-redis

- redis

 

 

 

Swamp Dragon

By James Pacileo

Swamp Dragon

  • 828