Re: Django and Cython

2018-08-03 Thread Curtis Maloney
On 08/02/2018 07:02 AM, Daniel Anechitoaie wrote: I'm looking at frameworks like https://vibora.io/ that make use of Cython to greatly improve the performance and I'm just wondering if something like this would work with Django? Was there any discussion (taken into consideration) about using

Re: Django and Cython

2018-08-03 Thread Tom Forbes
The people showing you benchmarks comparing Django to ‘NodeJS’ are comparing apples to oranges. Django is not an asynchronous framework (yet!) so you cannot fairly compare the number of raw requests per second the two handle and present that as evidence one is better than the other. Each one has

Re: Django and Cython

2018-08-03 Thread Jason Johns
Not at all, just that Cython itself is probably not the approach to take. Andrew Godwin recently posted a proposal for a Django ASGI roadmap and there's a good amount of work to be done there. Benchmarks have their place.

Re: Django and Cython

2018-08-03 Thread Daniel Anechitoaie
So the fact that frameworks like Vibora and webapps developed in other faster programming languages like GO/NodeJS/etc. support so many more req/s than Django it's relevant only in benchmarks? And in real life/live web apps the difference in performance won't be noticeable? I have to mention