Hi,<br>we come back to still the same problem, what RFC (or part of) all those webservers are handling ? or claim to.<br><br>« Envoyé depuis mon mobile » Eric<br><br>Bob Ippolito <bob@redivi.com> a écrit :<br><br><div dir="ltr">After looking a bit more closely at this code (to write tests for and fix an issue) I would not recommend using mochiweb's implementation of websocket at this time. It's a contributed feature without many tests and it does not appear to implement the full RFC spec. I can also see some edge cases where incoming data might be lost (when websocket frames are fragmented across http packets). The only really good reason to use this implementation is if you really like mochiweb (perhaps for legacy reasons) *and* you are willing to fix this code if it's broken for your use case.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 11, 2015 at 1:41 PM, Bob Ippolito <span dir="ltr"><<a href="mailto:bob@redivi.com" target="_blank">bob@redivi.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've used cowboy for most of the websocket stuff I've done in Erlang. The websocket support in mochiweb is newer and less mature. I haven't done any benchmarks on it.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Jan 11, 2015 at 12:24 PM, Akash Chowdhury <span dir="ltr"><<a href="mailto:achowdhury918@gmail.com" target="_blank">achowdhury918@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>All,<br></div>I have to implement an websocket server in Erlang for video streaming. (An Android client will send continous snapshot to Erlang server and Erlang Server will send it to an User Interface which is developed in HTML5).<br></div>For this Erlang server, what will be better? Mochiweb, cowboy or something different? What will scale better? Can someone please through some light on it?<br></div>Any help will be highly appreciated.<br></div>Thanks. <br>-<br></div>Akash<br></div>
<br></div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>