Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-14 Thread qnub
On developers machines we use postgres (and BDR on production, but i have not performance issues on production anymore), redis (now on developers too, on production it was from the start) and elasticsearch. All this things executed in own docker containers (on developer machines and on producti

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-14 Thread Andrew Godwin
10 seconds is still very slow, on my computer it takes around 300 milliseconds (0.3 seconds) for the worst case render. You must have something else installed/configured that is affecting it? Andrew On Wed, Jun 14, 2017 at 12:55 PM, qnub wrote: > Thank you, finally i've checked it and looks lik

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-13 Thread qnub
Thank you, finally i've checked it and looks like it helps (hope it works faster not because of my hardware upgrade but because of Reis usage). So with redis page loads in 10 seconds instead of 1,5 minutes with IPC. On Thursday, June 1, 2017 at 11:33:28 PM UTC+6, Andrew Godwin wrote: > > OK, can

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-01 Thread Andrew Godwin
OK, can you try using the Redis one instead and seeing if that's faster? Docker for Mac has a bit of an odd filesystem and kernel and it's possible the IPCLayer is not working well underneath it. Andrew On Thu, Jun 1, 2017 at 10:11 AM, qnub wrote: > Yes, because it's dev environment with single

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-01 Thread qnub
Yes, because it's dev environment with single node but with `rundelay` we use `asgi_ipc.IPCChannelLayer` On Thursday, June 1, 2017 at 11:03:09 PM UTC+6, Andrew Godwin wrote: > > Can I ask what channel layer you are using? That's what affects the speed > of messages being transported. > > Andrew

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-01 Thread Andrew Godwin
Can I ask what channel layer you are using? That's what affects the speed of messages being transported. Andrew On Thu, Jun 1, 2017 at 1:36 AM, qnub wrote: > Not sure what exactly wrog here, but installing pyinotify not helps to > lower CPU usage in docker on mac OS. As i understand after googl

Pyinotify and runserver performance with django channels in docker for mac

2017-06-01 Thread qnub
Not sure what exactly wrog here, but installing pyinotify not helps to lower CPU usage in docker on mac OS. As i understand after googling installing of `pyinotify` helps in case of running dev server with `runserver` manage command for general django configuration (without channels, but i not