Saturday, February 25, 2017

Sometimes Channels does not work properly

Hello everyone,
I use channels for some real time systems like notifications and chat. While I've set it right, but it still does not work properly.
Some times client connects but does not receive any message (I mean client receives absolutely no message).
Some other times everything works properly.
I use one redis-server in local network for cache,session and channels.
I monitored redis and I saw it receives a lot of queries for each client. Is that ok?

1488090236.719182 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.719203 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"
1488090236.729424 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.729441 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"
1488090236.739766 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.739788 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"
1488090236.750005 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.750020 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"
1488090236.760344 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.760366 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"
1488090236.770576 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.770593 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"
1488090236.780919 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.780941 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"
1488090236.791156 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.791172 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"
1488090236.801510 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.801532 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"
1488090236.811746 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.811760 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"
1488090236.822083 [0 127.0.0.1:54906] "EVALSHA" "3640886a0c8901ca9188f5f7a5f7a346145b9c5f" "1" "asgi:websocket.send!tbovkXbPevpt"
1488090236.822103 [0 lua] "LPOP" "asgi:websocket.send!tbovkXbPevpt"

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9279407b-3ea2-4006-8bdf-28da3e819d5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment