For exemple, student trying to do an interactive browser game.
>From what I understood, ASGI main objective is to be the standard for
websocket with django.
In my opinion, the tested case is not pathological. It is the default
one. Django configured barely enough to have stuff working.
I agree
You might want to run a small site with WebSockets - there are a number of
reasons to use ASGI mode, and it's important we make it scale down as well
as up.
Andrew
On Mon, Sep 26, 2016 at 1:30 PM, Chris Foresman wrote:
> Why would you be running a small website in ASGI mode
Why would you be running a small website in ASGI mode with a single worker?
My suspicion is that someone using Django in ASGI mode has a specific
reason to do so. Otherwise, why not run it in WSGI mode?
On Monday, September 26, 2016 at 2:25:04 PM UTC-5, ludovic coues wrote:
>
> What you call a
What you call a pathological case is a small website, running on
something like cheap VPS.
2016-09-26 15:59 GMT+02:00 Chris Foresman :
> Robert,
>
> Thanks! This really does clear things up. The results were a little
> surprising at first blush since I believe part of the
Today the Django team issued 1.9.10 and 1.8.15 as part of our security
process. These releases address a security issue, and we encourage all
users to upgrade as soon as possible.
Details are available on the Django project weblog:
Note that I made this comment in reaction to Alexey’s email here :-)
--
Aymeric.
> On 26 Sep 2016, at 14:34, charettes wrote:
>
> Hi Alexey,
>
> I'm not sure I understand why the approach Aymeric suggested is not viable for
> your use case.
>
> It can be implemented in
Robert,
Thanks! This really does clear things up. The results were a little
surprising at first blush since I believe part of the idea behind channels
is to be able to serve more requests concurrently than a single-threaded
approach typically allows. This is why I don't think this benchmark
Hi Alexey,
I'm not sure I understand why the approach Aymeric suggested is not viable
for
your use case.
It can be implemented in a few lines and doesn't require any modification to
Django core.
class ShortCircuitValidator(object):
def __init__(self, *validators):
self.validators
I opened ticket https://code.djangoproject.com/ticket/27263.
Do you think the solution I suggested in comment is OK?
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop