Re: Async views means dropping gunicorn gevent for uvicorn, affecting sync view performance

2023-04-16 Thread Fortune Osho
You can simply run gunicorn with unicorn workers... which is very performance using uvloop... test it performance against pure gunicorn... note that performance is not totally dependent on server used(a whole lot of things can affect performance like moddlewares, serialization etc) On Sun, Apr

Re: Django urls error

2023-04-16 Thread oluwafemi damilola
If you are still getting the error if you visit the 'hello' path, then you should visit 'hello/hello/' On Sun, 16 Apr 2023 at 11:19, oluwafemi damilola wrote: > Your path is 'hello/', but in your browser you are going to 'home', that > path does not exist > > On Fri, 14 Apr 2023 at 23:07,

Async views means dropping gunicorn gevent for uvicorn, affecting sync view performance

2023-04-16 Thread Chris Barber
Hello Production django app, currently 100% sync views, running under gunicorn with gevent worker class. @andrewgodwin suggests here it is possible to migrate slowly, just run hybrid sync-async and add or convert views as desired https://www.youtube.com/watch?v=19Uh_PA_8Rc=1728s But to get a

Re: Django urls error

2023-04-16 Thread oluwafemi damilola
Your path is 'hello/', but in your browser you are going to 'home', that path does not exist On Fri, 14 Apr 2023 at 23:07, lalit upadhyay wrote: > *I have copied my code here. Plz fix this error:* > > > view.py > from django.http import HttpResponse > > > def hello_delhi_capitals(request): >