<div dir="ltr">ok<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 3, 2013 at 5:51 PM, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Existing acceptors were using the old options for the next connection and then switched to the new options. But that has been fixed a long time ago. Ranch doesn't have that issue.<div class="im">
<br>
<br>
On 01/03/2013 02:32 PM, Max Lapshin wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
I mean situation that after cowboy:update_options existing acceptors are<br>
still working with old routes.<br>
Currently it is useless API, so I have to stop cowboy and start it back.<br>
<br>
<br>
On Thu, Jan 3, 2013 at 4:46 PM, Loïc Hoguin <<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a><br></div><div class="im">
<mailto:<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>>> wrote:<br>
<br>
  Â  Haven't had any stability issue. What we did here is ensure that<br>
  Â  when any process gets killed for any reason, especially reasons we<br>
  Â  can't foresee, Ranch continues to work as expected.<br>
<br>
  Â  Ranch not updating protocol options for existing connections isn't a<br>
  Â  problem, it won't be "fixed". Ranch can't guess how connection<br>
  Â  processes are implemented. It's up to you to allow this if you need<br>
  Â  it. The upgrade updates the options for all acceptors and all future<br>
  Â  connections, that's it.<br>
<br>
<br>
  Â  On 01/03/2013 10:30 AM, Max Lapshin wrote:<br>
<br>
  Â  Â  Â  Loic, it would be great to hear a bit, what problems have you<br>
  Â  Â  Â  met with.<br>
<br>
  Â  Â  Â  What issues with stability can be in acceptor pool?<br>
<br>
  Â  Â  Â  Also I have question about updating protocol options: have you done<br>
  Â  Â  Â  something with the problem that after updating protocol options<br>
  Â  Â  Â  existing<br>
  Â  Â  Â  workers are running with old config?<br>
<br>
  Â  Â  Â  On Tuesday, December 25, 2012, Loïc Hoguin wrote:<br>
<br>
  Â  Â  Â  Â  Â  Â Ho ho ho!<br>
<br>
  Â  Â  Â  Â  Â  Â I have just tagged version 0.6.0 of the Ranch project!<br>
<br>
  Â  Â  Â  Â  Â  Â Ranch is a socket acceptor pool for TCP protocols.<br>
<br></div>
  Â  Â  Â  <a href="https://github.com/extend/____ranch" target="_blank">https://github.com/extend/____<u></u>ranch</a><br>
  Â  Â  Â  <<a href="https://github.com/extend/__ranch" target="_blank">https://github.com/extend/__<u></u>ranch</a>><div class="im"><br>
  Â  Â  Â  <<a href="https://github.com/extend/__ranch" target="_blank">https://github.com/extend/__<u></u>ranch</a><br>
  Â  Â  Â  <<a href="https://github.com/extend/ranch" target="_blank">https://github.com/extend/<u></u>ranch</a>>><br>
<br>
<br>
  Â  Â  Â  Â  Â  Â Ranch is used by the next version of Cowboy, 0.8.0, set to be<br>
  Â  Â  Â  Â  Â  Â released early February, but also in Basho's Riak<br>
  Â  Â  Â  multi-data center<br>
  Â  Â  Â  Â  Â  Â replication amongst others.<br>
<br>
  Â  Â  Â  Â  Â  Â All tickets have been resolved. A significant contribution<br>
  Â  Â  Â  was made<br>
  Â  Â  Â  Â  Â  Â by Andrew Majorov to improve the fault tolerance<br>
  Â  Â  Â  capabilities of the<br>
  Â  Â  Â  Â  Â  Â application, making sure it always restarts properly when<br>
  Â  Â  Â  things go<br>
  Â  Â  Â  Â  Â  Â wrong. This has been made possible thanks to the amazing<br>
  Â  Â  Â  project<br>
  Â  Â  Â  Â  Â  Â from Daniel Luna, chaos_monkey<br></div>
  Â  Â  Â  Â  Â  Â (<a href="https://github.com/dluna/____chaos_monkey" target="_blank">https://github.com/dluna/____<u></u>chaos_monkey</a><br>
  Â  Â  Â  <<a href="https://github.com/dluna/__chaos_monkey" target="_blank">https://github.com/dluna/__<u></u>chaos_monkey</a>><div class="im"><br>
  Â  Â  Â  Â  Â  Â <<a href="https://github.com/dluna/__chaos_monkey" target="_blank">https://github.com/dluna/__<u></u>chaos_monkey</a><br>
  Â  Â  Â  <<a href="https://github.com/dluna/chaos_monkey" target="_blank">https://github.com/dluna/<u></u>chaos_monkey</a>>>).<br>
<br>
<br>
  Â  Â  Â  Â  Â  Â The guide has also been improved and completed.<br>
<br></div>
  Â  Â  Â  <a href="http://ninenines.eu/docs/en/____ranch/HEAD/guide/introduction" target="_blank">http://ninenines.eu/docs/en/__<u></u>__ranch/HEAD/guide/<u></u>introduction</a><br>
  Â  Â  Â  <<a href="http://ninenines.eu/docs/en/__ranch/HEAD/guide/introduction" target="_blank">http://ninenines.eu/docs/en/_<u></u>_ranch/HEAD/guide/introduction</a><u></u>><div><div class="h5"><br>
<br>
<br>
  Â  Â  Â  <<a href="http://ninenines.eu/docs/en/__ranch/HEAD/guide/introduction" target="_blank">http://ninenines.eu/docs/en/_<u></u>_ranch/HEAD/guide/introduction</a><br>
  Â  Â  Â  <<a href="http://ninenines.eu/docs/en/ranch/HEAD/guide/introduction" target="_blank">http://ninenines.eu/docs/en/<u></u>ranch/HEAD/guide/introduction</a>><u></u>><br>
<br>
  Â  Â  Â  Â  Â  Â If the guide isn't enough, drop by our new IRC channel<br>
  Â  Â  Â  dedicated to<br>
  Â  Â  Â  Â  Â  Â Cowboy, Ranch and all our other projects! #ninenines on<br>
  Â  Â  Â  Freenode.<br>
<br>
  Â  Â  Â  Â  Â  Â Following is the list of change since last time:<br>
<br>
  Â  Â  Â  Â  Â  Â  Â * Â Improve fault tolerance thanks to chaos_monkey testing<br>
  Â  Â  Â  Â  Â  Â  Â * Â Add 'nodelay' option to transports<br>
  Â  Â  Â  Â  Â  Â  Â * Â Add 'verify' option to ranch_ssl transport<br>
  Â  Â  Â  Â  Â  Â  Â * Â Add 'socket' option to pass an already open socket to<br>
  Â  Â  Â  the listener<br>
  Â  Â  Â  Â  Â  Â  Â * Â Add Transport:sendfile/2 function (uses a fallback if<br>
  Â  Â  Â  unavailable)<br>
  Â  Â  Â  Â  Â  Â  Â * Â Allow IP tuples in Transport:connect/3<br>
  Â  Â  Â  Â  Â  Â  Â * Â Add ranch:set_max_connections/2 to update the value live<br>
  Â  Â  Â  Â  Â  Â  Â * Â Add ranch:get_max_connections/1 to retrieve it<br>
<br>
  Â  Â  Â  Â  Â  Â We are always looking for feedback, especially now that<br>
  Â  Â  Â  there is no<br>
  Â  Â  Â  Â  Â  Â ticket left open on this project. If you are using Ranch<br>
  Â  Â  Â  and have<br>
  Â  Â  Â  Â  Â  Â questions or needs that it doesn't cover, please send them<br>
  Â  Â  Â  to us.<br>
<br>
  Â  Â  Â  Â  Â  Â Commercial support will be available starting from January,<br>
  Â  Â  Â  ping me<br>
  Â  Â  Â  Â  Â  Â if you are interested. Details will be announced at a later<br>
  Â  Â  Â  time on<br>
  Â  Â  Â  Â  Â  Â the <a href="http://ninenines.eu" target="_blank">ninenines.eu</a> <<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a>><br>
  Â  Â  Â  <<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a>> mailing list.<br>
<br>
<br>
  Â  Â  Â  Â  Â  Â I want to thank all contributors for helping this project<br>
  Â  Â  Â  by opening<br>
  Â  Â  Â  Â  Â  Â tickets, sending patches and offering feedback. I am as<br>
  Â  Â  Â  always very<br>
  Â  Â  Â  Â  Â  Â grateful for any and all contributions. I wouldn't have<br>
  Â  Â  Â  made it this<br>
  Â  Â  Â  Â  Â  Â far without the tremendous help I receive everyday.<br>
<br>
  Â  Â  Â  Â  Â  Â Thanks to all and have a nice holiday!<br>
<br>
  Â  Â  Â  Â  Â  Â --<br>
  Â  Â  Â  Â  Â  Â Loïc Hoguin<br>
  Â  Â  Â  Â  Â  Â Erlang Santa<br>
  Â  Â  Â  Â  Â  Â Nine Nines<br>
  Â  Â  Â  <a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br></div></div>
  Â  Â  Â  Â  Â  Â ______________________________<u></u>_____________________<br>
  Â  Â  Â  Â  Â  Â erlang-questions mailing list<br>
  Â  Â  Â  <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a> <mailto:<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@<u></u>erlang.org</a>><br>
  Â  Â  Â  <a href="http://erlang.org/mailman/____listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/____<u></u>listinfo/erlang-questions</a><br>
  Â  Â  Â  <<a href="http://erlang.org/mailman/__listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/__<u></u>listinfo/erlang-questions</a>><div class="im"><br>
  Â  Â  Â  Â  Â  Â <<a href="http://erlang.org/mailman/__listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/__<u></u>listinfo/erlang-questions</a><br>
  Â  Â  Â  <<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a>>><br>
<br>
<br>
<br>
  Â  --<br>
  Â  Loïc Hoguin<br>
  Â  Erlang Cowboy<br>
  Â  Nine Nines<br>
  Â  <a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
<br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
-- <br>
Loïc Hoguin<br>
Erlang Cowboy<br>
Nine Nines<br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
</div></div></blockquote></div><br></div>