1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
<tt>
<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:[email protected]" target="_blank">[email protected]</a>></span> wrote:<br><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><br>
<br><br>
On 01/03/2013 02:32 PM, Max Lapshin wrote:<br><br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
I mean situation that after cowboy:update_options existing acceptors are<br><br>
still working with old routes.<br><br>
Currently it is useless API, so I have to stop cowboy and start it back.<br><br>
<br><br>
<br><br>
On Thu, Jan 3, 2013 at 4:46 PM, Loïc Hoguin <<a href="mailto:[email protected]" target="_blank">[email protected]</a><br></div><div class="im"><br>
<mailto:<a href="mailto:[email protected]" target="_blank">[email protected]</a>>> wrote:<br><br>
<br><br>
Haven't had any stability issue. What we did here is ensure that<br><br>
when any process gets killed for any reason, especially reasons we<br><br>
can't foresee, Ranch continues to work as expected.<br><br>
<br><br>
Ranch not updating protocol options for existing connections isn't a<br><br>
problem, it won't be "fixed". Ranch can't guess how connection<br><br>
processes are implemented. It's up to you to allow this if you need<br><br>
it. The upgrade updates the options for all acceptors and all future<br><br>
connections, that's it.<br><br>
<br><br>
<br><br>
On 01/03/2013 10:30 AM, Max Lapshin wrote:<br><br>
<br><br>
Loic, it would be great to hear a bit, what problems have you<br><br>
met with.<br><br>
<br><br>
What issues with stability can be in acceptor pool?<br><br>
<br><br>
Also I have question about updating protocol options: have you done<br><br>
something with the problem that after updating protocol options<br><br>
existing<br><br>
workers are running with old config?<br><br>
<br><br>
On Tuesday, December 25, 2012, Loïc Hoguin wrote:<br><br>
<br><br>
Ho ho ho!<br><br>
<br><br>
I have just tagged version 0.6.0 of the Ranch project!<br><br>
<br><br>
Ranch is a socket acceptor pool for TCP protocols.<br><br>
<br></div><br>
<a href="https://github.com/extend/____ranch" target="_blank">https://github.com/extend/____<u></u>ranch</a><br><br>
<<a href="https://github.com/extend/__ranch" target="_blank">https://github.com/extend/__<u></u>ranch</a>><div class="im"><br><br>
<<a href="https://github.com/extend/__ranch" target="_blank">https://github.com/extend/__<u></u>ranch</a><br><br>
<<a href="https://github.com/extend/ranch" target="_blank">https://github.com/extend/<u></u>ranch</a>>><br><br>
<br><br>
<br><br>
Ranch is used by the next version of Cowboy, 0.8.0, set to be<br><br>
released early February, but also in Basho's Riak<br><br>
multi-data center<br><br>
replication amongst others.<br><br>
<br><br>
All tickets have been resolved. A significant contribution<br><br>
was made<br><br>
by Andrew Majorov to improve the fault tolerance<br><br>
capabilities of the<br><br>
application, making sure it always restarts properly when<br><br>
things go<br><br>
wrong. This has been made possible thanks to the amazing<br><br>
project<br><br>
from Daniel Luna, chaos_monkey<br></div><br>
(<a href="https://github.com/dluna/____chaos_monkey" target="_blank">https://github.com/dluna/____<u></u>chaos_monkey</a><br><br>
<<a href="https://github.com/dluna/__chaos_monkey" target="_blank">https://github.com/dluna/__<u></u>chaos_monkey</a>><div class="im"><br><br>
<<a href="https://github.com/dluna/__chaos_monkey" target="_blank">https://github.com/dluna/__<u></u>chaos_monkey</a><br><br>
<<a href="https://github.com/dluna/chaos_monkey" target="_blank">https://github.com/dluna/<u></u>chaos_monkey</a>>>).<br><br>
<br><br>
<br><br>
The guide has also been improved and completed.<br><br>
<br></div><br>
<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><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><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><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>
<br><br>
If the guide isn't enough, drop by our new IRC channel<br><br>
dedicated to<br><br>
Cowboy, Ranch and all our other projects! #ninenines on<br><br>
Freenode.<br><br>
<br><br>
Following is the list of change since last time:<br><br>
<br><br>
* Improve fault tolerance thanks to chaos_monkey testing<br><br>
* Add 'nodelay' option to transports<br><br>
* Add 'verify' option to ranch_ssl transport<br><br>
* Add 'socket' option to pass an already open socket to<br><br>
the listener<br><br>
* Add Transport:sendfile/2 function (uses a fallback if<br><br>
unavailable)<br><br>
* Allow IP tuples in Transport:connect/3<br><br>
* Add ranch:set_max_connections/2 to update the value live<br><br>
* Add ranch:get_max_connections/1 to retrieve it<br><br>
<br><br>
We are always looking for feedback, especially now that<br><br>
there is no<br><br>
ticket left open on this project. If you are using Ranch<br><br>
and have<br><br>
questions or needs that it doesn't cover, please send them<br><br>
to us.<br><br>
<br><br>
Commercial support will be available starting from January,<br><br>
ping me<br><br>
if you are interested. Details will be announced at a later<br><br>
time on<br><br>
the <a href="http://ninenines.eu" target="_blank">ninenines.eu</a> <<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a>><br><br>
<<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a>> mailing list.<br><br>
<br><br>
<br><br>
I want to thank all contributors for helping this project<br><br>
by opening<br><br>
tickets, sending patches and offering feedback. I am as<br><br>
always very<br><br>
grateful for any and all contributions. I wouldn't have<br><br>
made it this<br><br>
far without the tremendous help I receive everyday.<br><br>
<br><br>
Thanks to all and have a nice holiday!<br><br>
<br><br>
--<br><br>
Loïc Hoguin<br><br>
Erlang Santa<br><br>
Nine Nines<br><br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br></div></div><br>
______________________________<u></u>_____________________<br><br>
erlang-questions mailing list<br><br>
<a href="mailto:[email protected]" target="_blank">[email protected]</a> <mailto:<a href="mailto:[email protected]" target="_blank">erlang-questions@<u></u>erlang.org</a>><br><br>
<a href="http://erlang.org/mailman/____listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/____<u></u>listinfo/erlang-questions</a><br><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><br>
<<a href="http://erlang.org/mailman/__listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/__<u></u>listinfo/erlang-questions</a><br><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><br>
<br><br>
--<br><br>
Loïc Hoguin<br><br>
Erlang Cowboy<br><br>
Nine Nines<br><br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br><br>
<br><br>
<br><br>
</div></blockquote><div class="HOEnZb"><div class="h5"><br>
<br><br>
<br><br>
-- <br><br>
Loïc Hoguin<br><br>
Erlang Cowboy<br><br>
Nine Nines<br><br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br><br>
</div></div></blockquote></div><br></div><br>
</tt>
|