summaryrefslogblamecommitdiffstats
path: root/archives/extend/2013-January/000031.html
blob: e62e78e1479dfcfbca02de70a981d073da30d2b2 (plain) (tree)



















































































































































































































                                                                                                                                                                                                                                     
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] [erlang-questions] [ANN] Ranch 0.6.0 Xmas Edition	Released
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20Ranch%200.6.0%20Xmas%20Edition%0A%09Released&In-Reply-To=%3C50E58CF4.9080804%40ninenines.eu%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <style type="text/css">
       pre {
           white-space: pre-wrap;       /* css-2.1, curent FF, Opera, Safari */
           }
   </style>
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000030.html">
   <LINK REL="Next"  HREF="000032.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] [erlang-questions] [ANN] Ranch 0.6.0 Xmas Edition	Released</H1>
    <B>Lo&#239;c Hoguin</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20Ranch%200.6.0%20Xmas%20Edition%0A%09Released&In-Reply-To=%3C50E58CF4.9080804%40ninenines.eu%3E"
       TITLE="[99s-extend] [erlang-questions] [ANN] Ranch 0.6.0 Xmas Edition	Released">essen at ninenines.eu
       </A><BR>
    <I>Thu Jan  3 14:51:48 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="000030.html">[99s-extend] [erlang-questions] [ANN] Ranch 0.6.0 Xmas Edition	Released
</A></li>
        <LI>Next message: <A HREF="000032.html">[99s-extend] [erlang-questions] [ANN] Ranch 0.6.0 Xmas Edition	Released
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#31">[ date ]</a>
              <a href="thread.html#31">[ thread ]</a>
              <a href="subject.html#31">[ subject ]</a>
              <a href="author.html#31">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>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.

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

-- 
Lo&#239;c Hoguin
Erlang Cowboy
Nine Nines
<A HREF="http://ninenines.eu">http://ninenines.eu</A>

</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000030.html">[99s-extend] [erlang-questions] [ANN] Ranch 0.6.0 Xmas Edition	Released
</A></li>
	<LI>Next message: <A HREF="000032.html">[99s-extend] [erlang-questions] [ANN] Ranch 0.6.0 Xmas Edition	Released
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#31">[ date ]</a>
              <a href="thread.html#31">[ thread ]</a>
              <a href="subject.html#31">[ subject ]</a>
              <a href="author.html#31">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>