G
G
Gasoid2012-01-12 12:29:16
Python
Gasoid, 2012-01-12 12:29:16

Tornado chat

There is an example of a chat on tornado, but there is an example for a chat with one room. Are there mechanisms that allow you to transfer data between threads to create a tête-à-tête chat? Or we can eat queues named?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir Pal, 2012-09-06
@Gasoid

habrahabr.ru/post/138280/

K
klen, 2012-01-12
@klen

Well, you also have the ability to send a message to a specific connected client. And there is always one queue in a tornado, there is one endless loop for all connections.

G
Gasoid, 2012-01-12
@Gasoid

well, as an option, use memcache or dict variable to follow the last message

A
alxpy, 2015-09-13
@alxpy

Here is an example with one room - Writing a simple chat on Tornado

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question