Fair enough. I understand that in distributed system. But maybe you should add a note about that, as if the whole system is not distributed over network(s), it is highly unlikely to lose frames :D
> On 25 Jan 2017, at 09:08, Andrew Godwin <and...@aeracode.org> wrote: > > Yes, it's a bit alarmist if you don't come from the background of writing > distributed systems. I just don't like to hide the truth one bit! > > All your software and hardware can fail in myriad ways; I have a talk I need > to give about it at some point. Knowing how it fails is half the battle! > > Andrew > > On Wed, Jan 25, 2017 at 12:06 AM, Fabien Millerand <miller...@gmail.com > <mailto:miller...@gmail.com>> wrote: > Ok, I start to understand now. > To be frank the docs are a bit alarming :) > > > > Le mercredi 25 janvier 2017 08:47:06 UTC+1, Andrew Godwin a écrit : > > I am not sure to understand. In which case can there be messages/frames > lost?! Where does that happen? Between the server interface and the Django > layer? I would need to know more about that... Otherwise I might need to move > with uWSGI or something.... JSON-RPC in itself doesn't implement a timeout, > althought the javascript client better have one... > > > It simply means that it's possible that you might lose an incoming frame. > This is also true of implementing it in uWSGI (the process handling the > socket might get OOM killed, or the server might die, etc.) > > It's not a normal case, it's just that if something super bad happens, the > resulting handling is to drop a message rather than play it twice. Most > systems I know of that handle websockets do this. > > Andrew > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com > <mailto:django-users+unsubscr...@googlegroups.com>. > To post to this group, send email to django-users@googlegroups.com > <mailto:django-users@googlegroups.com>. > Visit this group at https://groups.google.com/group/django-users > <https://groups.google.com/group/django-users>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/97e75375-6caf-4e8d-a781-be6da421840d%40googlegroups.com > > <https://groups.google.com/d/msgid/django-users/97e75375-6caf-4e8d-a781-be6da421840d%40googlegroups.com?utm_medium=email&utm_source=footer>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/b00Ie8wBPnc/unsubscribe > <https://groups.google.com/d/topic/django-users/b00Ie8wBPnc/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > django-users+unsubscr...@googlegroups.com > <mailto:django-users+unsubscr...@googlegroups.com>. > To post to this group, send email to django-users@googlegroups.com > <mailto:django-users@googlegroups.com>. > Visit this group at https://groups.google.com/group/django-users > <https://groups.google.com/group/django-users>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAFwN1uoPw%2BTjz3dmTvLeOck%3DHfRfRycA%3DHZ_GQa%2BbYBt7oXxwA%40mail.gmail.com > > <https://groups.google.com/d/msgid/django-users/CAFwN1uoPw%2BTjz3dmTvLeOck%3DHfRfRycA%3DHZ_GQa%2BbYBt7oXxwA%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/65863910-3166-4900-B742-7EB17662BE8B%40gmail.com. For more options, visit https://groups.google.com/d/optout.