UTC+1 Andrew Godwin napsal(a):
>
> So you are starting a steam client from a consumer inside a worker process
> then? Inside a consumer, send() calls will not finish until you return
> control from the consumer, so maybe that's it?
>
> On Tue, Mar 7, 2017 at 10:39 AM, Lada B
Presumably not a webserver
> process, as that doesn't have a main thread. Could you explain a bit more
> about the architecture and what channel layers you have configured?
>
> Andrew
>
> On Tue, Mar 7, 2017 at 4:06 AM, Lada B >
> wrote:
>
>> I'm
e úterý 7. března 2017 19:08:39 UTC+1 Andrew Godwin napsal(a):
>
> Where are you running this steam client from? Presumably not a webserver
> process, as that doesn't have a main thread. Could you explain a bit more
> about the architecture and what channel layers you have configured?
>
I'm using
https://github.com/ValvePython/steam
https://github.com/django/channels
and I'm trying to make them work together. Problem is that when SteamClient
starts I cannot send any message with channels.
Group(group_name).send({
'text': json.dumps({
'match_status': "balancing tea
I just tried to run workers in separate processes and it works great! it's
awesome and it fails only because of redis channel memory being full. Dont
know how to increase it tho.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe f
Also i havent tried running workers in separate processes
Is the client and server running on the same computer?
No
And i just realized that expiry=5 is wrong because it disconnects users.
Thats why it feels "better" now :D
--
You received this message because you are subscribed to the Google
ients, the
>> ASGI server, meaning the process actually holding the websocket, in your
>> case daphne, will actually upload the data.
>>
>> Is the client and server running on the same computer?
>>
>> Don't stress test your server manually, you should
HW performance with 1 user sending message every 100ms:
https://i.imgur.com/5F4mKAI.png
Yesterday i tried to use it in production and when there were 15 clients
connected (each one pinging server every 2 seconds) nobody else could
connect.
I have default settings and I followed Getting star
Hi, im using django-1.10 + channels + asgi_redis + daphne + uwsgi + nginx
but i have problem with workers+daphne being slow.
Im developing chat and I tried how fast its by holding ENTER button
(spamming messages one after one and it doesn't even respond until i stop
sending messages.
When i t
9 matches
Mail list logo