diff options
Diffstat (limited to '_build/static/archives/extend/2012-December')
15 files changed, 1508 insertions, 0 deletions
diff --git a/_build/static/archives/extend/2012-December/000018.html b/_build/static/archives/extend/2012-December/000018.html new file mode 100644 index 00000000..815316af --- /dev/null +++ b/_build/static/archives/extend/2012-December/000018.html @@ -0,0 +1,67 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Streaming response in cowboy question + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Streaming%20response%20in%20cowboy%20question&In-Reply-To=%3C50C8F3CA.7040002%40gjunka.com%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="Next" HREF="000019.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Streaming response in cowboy question</H1> + <B>Grzegorz Junka</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Streaming%20response%20in%20cowboy%20question&In-Reply-To=%3C50C8F3CA.7040002%40gjunka.com%3E" + TITLE="[99s-extend] Streaming response in cowboy question">list1 at gjunka.com + </A><BR> + <I>Wed Dec 12 22:14:50 CET 2012</I> + <P><UL> + + <LI>Next message: <A HREF="000019.html">[99s-extend] Streaming response in cowboy question +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#18">[ date ]</a> + <a href="thread.html#18">[ thread ]</a> + <a href="subject.html#18">[ subject ]</a> + <a href="author.html#18">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I am implementing a proxy on top of Cowboy. Is it possible to stream the +response back to Cowboy as I receive it from the destination server? + +I am thinking about something like specifying a fun instead of Response +Body when sending the reply so that Cowboy could call it to receive the +response in chunks (see send_req in +<A HREF="https://github.com/cmullaparthi/ibrowse/blob/master/src/ibrowse.erl">https://github.com/cmullaparthi/ibrowse/blob/master/src/ibrowse.erl</A>). + + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + + <LI>Next message: <A HREF="000019.html">[99s-extend] Streaming response in cowboy question +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#18">[ date ]</a> + <a href="thread.html#18">[ thread ]</a> + <a href="subject.html#18">[ subject ]</a> + <a href="author.html#18">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2012-December/000019.html b/_build/static/archives/extend/2012-December/000019.html new file mode 100644 index 00000000..910bc5d4 --- /dev/null +++ b/_build/static/archives/extend/2012-December/000019.html @@ -0,0 +1,77 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Streaming response in cowboy question + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Streaming%20response%20in%20cowboy%20question&In-Reply-To=%3C50C8F786.9070109%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="000018.html"> + <LINK REL="Next" HREF="000020.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Streaming response in cowboy question</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Streaming%20response%20in%20cowboy%20question&In-Reply-To=%3C50C8F786.9070109%40ninenines.eu%3E" + TITLE="[99s-extend] Streaming response in cowboy question">essen at ninenines.eu + </A><BR> + <I>Wed Dec 12 22:30:46 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000018.html">[99s-extend] Streaming response in cowboy question +</A></li> + <LI>Next message: <A HREF="000020.html">[99s-extend] Nine Nines IRC Channel +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#19">[ date ]</a> + <a href="thread.html#19">[ thread ]</a> + <a href="subject.html#19">[ subject ]</a> + <a href="author.html#19">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 12/12/2012 10:14 PM, Grzegorz Junka wrote: +><i> I am implementing a proxy on top of Cowboy. Is it possible to stream the +</I>><i> response back to Cowboy as I receive it from the destination server? +</I>><i> +</I>><i> I am thinking about something like specifying a fun instead of Response +</I>><i> Body when sending the reply so that Cowboy could call it to receive the +</I>><i> response in chunks (see send_req in +</I>><i> <A HREF="https://github.com/cmullaparthi/ibrowse/blob/master/src/ibrowse.erl">https://github.com/cmullaparthi/ibrowse/blob/master/src/ibrowse.erl</A>). +</I> +Lookup cowboy_req:set_resp_body_fun? Tell me if that fits your needs. + +-- +Loï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="000018.html">[99s-extend] Streaming response in cowboy question +</A></li> + <LI>Next message: <A HREF="000020.html">[99s-extend] Nine Nines IRC Channel +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#19">[ date ]</a> + <a href="thread.html#19">[ thread ]</a> + <a href="subject.html#19">[ subject ]</a> + <a href="author.html#19">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2012-December/000020.html b/_build/static/archives/extend/2012-December/000020.html new file mode 100644 index 00000000..fb1ba508 --- /dev/null +++ b/_build/static/archives/extend/2012-December/000020.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Nine Nines IRC Channel + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Nine%20Nines%20IRC%20Channel&In-Reply-To=%3C50CE11C0.5040505%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="000019.html"> + <LINK REL="Next" HREF="000021.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Nine Nines IRC Channel</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Nine%20Nines%20IRC%20Channel&In-Reply-To=%3C50CE11C0.5040505%40ninenines.eu%3E" + TITLE="[99s-extend] Nine Nines IRC Channel">essen at ninenines.eu + </A><BR> + <I>Sun Dec 16 19:24:00 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000019.html">[99s-extend] Streaming response in cowboy question +</A></li> + <LI>Next message: <A HREF="000021.html">[99s-extend] Nine Nines IRC Channel +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#20">[ date ]</a> + <a href="thread.html#20">[ thread ]</a> + <a href="subject.html#20">[ subject ]</a> + <a href="author.html#20">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +I have started the #ninenines IRC Channel on irc.freenode.net for anyone +looking for quick help or willing to participate in Cowboy development +or any other related project (Ranch, Bullet, Sheriff and upcoming projects). + +Discussions will be centered about these projects and related subjects. + +Repositories will soon be updated with information about this IRC channel. + +Feel free to come and hang out. + +-- +Loï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="000019.html">[99s-extend] Streaming response in cowboy question +</A></li> + <LI>Next message: <A HREF="000021.html">[99s-extend] Nine Nines IRC Channel +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#20">[ date ]</a> + <a href="thread.html#20">[ thread ]</a> + <a href="subject.html#20">[ subject ]</a> + <a href="author.html#20">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2012-December/000021.html b/_build/static/archives/extend/2012-December/000021.html new file mode 100644 index 00000000..6ae59076 --- /dev/null +++ b/_build/static/archives/extend/2012-December/000021.html @@ -0,0 +1,92 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Nine Nines IRC Channel + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Nine%20Nines%20IRC%20Channel&In-Reply-To=%3CCA%2BJb5n4quyppnpe_CF3rtQcKTJ6yq5F8WYUHHbkaJf4vWWc1Vw%40mail.gmail.com%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="000020.html"> + <LINK REL="Next" HREF="000022.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Nine Nines IRC Channel</H1> + <B>Jeremy Ong</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Nine%20Nines%20IRC%20Channel&In-Reply-To=%3CCA%2BJb5n4quyppnpe_CF3rtQcKTJ6yq5F8WYUHHbkaJf4vWWc1Vw%40mail.gmail.com%3E" + TITLE="[99s-extend] Nine Nines IRC Channel">jeremy at playmesh.com + </A><BR> + <I>Sun Dec 16 20:10:16 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000020.html">[99s-extend] Nine Nines IRC Channel +</A></li> + <LI>Next message: <A HREF="000022.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#21">[ date ]</a> + <a href="thread.html#21">[ thread ]</a> + <a href="subject.html#21">[ subject ]</a> + <a href="author.html#21">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>See you there! + +Jeremy (banachtarski) + + +On Sun, Dec 16, 2012 at 10:24 AM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> Hello, +</I>><i> +</I>><i> I have started the #ninenines IRC Channel on irc.freenode.net for anyone +</I>><i> looking for quick help or willing to participate in Cowboy development or +</I>><i> any other related project (Ranch, Bullet, Sheriff and upcoming projects). +</I>><i> +</I>><i> Discussions will be centered about these projects and related subjects. +</I>><i> +</I>><i> Repositories will soon be updated with information about this IRC channel. +</I>><i> +</I>><i> Feel free to come and hang out. +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> ______________________________**_________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend</A>> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20121216/2d0b0da5/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20121216/2d0b0da5/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000020.html">[99s-extend] Nine Nines IRC Channel +</A></li> + <LI>Next message: <A HREF="000022.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#21">[ date ]</a> + <a href="thread.html#21">[ thread ]</a> + <a href="subject.html#21">[ subject ]</a> + <a href="author.html#21">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2012-December/000022.html b/_build/static/archives/extend/2012-December/000022.html new file mode 100644 index 00000000..5ac89e23 --- /dev/null +++ b/_build/static/archives/extend/2012-December/000022.html @@ -0,0 +1,81 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy HTTPS connection memory usage + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20HTTPS%20connection%20memory%20usage&In-Reply-To=%3CCAJ0zLRMmSoLzQVdsYHq%2BMZkbZ4xggVYH_XwWaPd83b-Aa%3Dftrw%40mail.gmail.com%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="000021.html"> + <LINK REL="Next" HREF="000023.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy HTTPS connection memory usage</H1> + <B>rambocoder</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20HTTPS%20connection%20memory%20usage&In-Reply-To=%3CCAJ0zLRMmSoLzQVdsYHq%2BMZkbZ4xggVYH_XwWaPd83b-Aa%3Dftrw%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy HTTPS connection memory usage">erlang at rambocoder.com + </A><BR> + <I>Fri Dec 21 04:34:23 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000021.html">[99s-extend] Nine Nines IRC Channel +</A></li> + <LI>Next message: <A HREF="000023.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#22">[ date ]</a> + <a href="thread.html#22">[ thread ]</a> + <a href="subject.html#22">[ subject ]</a> + <a href="author.html#22">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Does anybody know either from benchmarks or real world data what is the +average memory footprint of each concurrent HTTPS connection to cowboy? + +SSL app in Erlang reuses SSL session-ids so I am not sure if the Apache +Bench I test with reuses the session id or it does not. + +BTW, what makes an erlang api "documented" vs "undocumented". For example +ssl:session_info/1 function here ( +<A HREF="https://github.com/erlang/otp/blob/maint/lib/ssl/src/ssl.erl#L411">https://github.com/erlang/otp/blob/maint/lib/ssl/src/ssl.erl#L411</A> ) has a +spec and a short doc, but session_info is not described +<A HREF="http://www.erlang.org/doc/man/ssl.html">http://www.erlang.org/doc/man/ssl.html</A> .ssl:session_info/1 is a useful +function to be able to track if the load generator is reusing the SSL +session_id or it is generating new one, because that would make all the +difference during measurement due to Erlang caching SSL sessions by default. + +Sincerely, + +rambocoder +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20121220/631f7f13/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20121220/631f7f13/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000021.html">[99s-extend] Nine Nines IRC Channel +</A></li> + <LI>Next message: <A HREF="000023.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#22">[ date ]</a> + <a href="thread.html#22">[ thread ]</a> + <a href="subject.html#22">[ subject ]</a> + <a href="author.html#22">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2012-December/000023.html b/_build/static/archives/extend/2012-December/000023.html new file mode 100644 index 00000000..c1214eef --- /dev/null +++ b/_build/static/archives/extend/2012-December/000023.html @@ -0,0 +1,95 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy HTTPS connection memory usage + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20HTTPS%20connection%20memory%20usage&In-Reply-To=%3C50D44BD3.4030008%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="000022.html"> + <LINK REL="Next" HREF="000024.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy HTTPS connection memory usage</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20HTTPS%20connection%20memory%20usage&In-Reply-To=%3C50D44BD3.4030008%40ninenines.eu%3E" + TITLE="[99s-extend] Cowboy HTTPS connection memory usage">essen at ninenines.eu + </A><BR> + <I>Fri Dec 21 12:45:23 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000022.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI>Next message: <A HREF="000024.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#23">[ date ]</a> + <a href="thread.html#23">[ thread ]</a> + <a href="subject.html#23">[ subject ]</a> + <a href="author.html#23">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 12/21/2012 04:34 AM, rambocoder wrote: +><i> Does anybody know either from benchmarks or real world data what is the +</I>><i> average memory footprint of each concurrent HTTPS connection to cowboy? +</I> +I don't have anything, sorry. I'm guessing it consumes a lot more than +TCP though. + +><i> SSL app in Erlang reuses SSL session-ids so I am not sure if the Apache +</I>><i> Bench I test with reuses the session id or it does not. +</I> +I wouldn't know, but I wouldn't trust Apache Bench doing the right +thing. Any other benchmark tool usually works better in my experience. + +><i> BTW, what makes an erlang api "documented" vs "undocumented". For +</I>><i> example ssl:session_info/1 function here ( +</I>><i> <A HREF="https://github.com/erlang/otp/blob/maint/lib/ssl/src/ssl.erl#L411">https://github.com/erlang/otp/blob/maint/lib/ssl/src/ssl.erl#L411</A> ) has +</I>><i> a spec and a short doc, but session_info is not described +</I>><i> <A HREF="http://www.erlang.org/doc/man/ssl.html">http://www.erlang.org/doc/man/ssl.html</A> .ssl:session_info/1 is a useful +</I>><i> function to be able to track if the load generator is reusing the SSL +</I>><i> session_id or it is generating new one, because that would make all the +</I>><i> difference during measurement due to Erlang caching SSL sessions by default. +</I> +The documentation is separate (they're not using edoc). It's perhaps not +deemed useful enough for documenting it. I wouldn't worry about using it +for measurements though. + +Try asking Ingela on the ML about it, perhaps they just forgot to +document it. + +-- +Loï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="000022.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI>Next message: <A HREF="000024.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#23">[ date ]</a> + <a href="thread.html#23">[ thread ]</a> + <a href="subject.html#23">[ subject ]</a> + <a href="author.html#23">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2012-December/000024.html b/_build/static/archives/extend/2012-December/000024.html new file mode 100644 index 00000000..f55a4f92 --- /dev/null +++ b/_build/static/archives/extend/2012-December/000024.html @@ -0,0 +1,131 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy HTTPS connection memory usage + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20HTTPS%20connection%20memory%20usage&In-Reply-To=%3CCAJ0zLRM4mBK0Du8W0Dg84D6vOqpMTOOOqbJD5L0ZO9cyxR%3DrZg%40mail.gmail.com%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="000023.html"> + <LINK REL="Next" HREF="000025.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy HTTPS connection memory usage</H1> + <B>rambocoder</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20HTTPS%20connection%20memory%20usage&In-Reply-To=%3CCAJ0zLRM4mBK0Du8W0Dg84D6vOqpMTOOOqbJD5L0ZO9cyxR%3DrZg%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy HTTPS connection memory usage">erlang at rambocoder.com + </A><BR> + <I>Fri Dec 21 17:49:37 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000023.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI>Next message: <A HREF="000025.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#24">[ date ]</a> + <a href="thread.html#24">[ thread ]</a> + <a href="subject.html#24">[ subject ]</a> + <a href="author.html#24">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>In my preliminary testing, I used Jmeter this morning since it's an +easy GUI load testing app and this is what I am seeing: + +With R15B03-01 [smp:4:4] [async-threads:4] [hipe] [kernel-poll:true], when +I establish 1K concurrent connections via HTTPS, each connection takes up +about 68K of memory. + +Unfortunately, after about 1050-1200 connections, on my test server the +Erlang scheduler jumps to 100% CPU utilization on all 4 schedulers, while +up to that point the scheduler's load was oscillating up and down. Using +the Observer, there is only 1 ssl_connection_sup in the ssl application, +having to deal with 1000+ gen_fsm workers, so that might be the bottleneck. +Since the ulimit on my server is 50000 I don't think I am hitting any type +of file handler's limit. + +Loïc and the group, am I missing some setting that is causing the scheduler +to go to 100% CPU and the run que in observer to be 99? + +Sincerely, + +rambocoder + + +On Fri, Dec 21, 2012 at 6:45 AM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> On 12/21/2012 04:34 AM, rambocoder wrote: +</I>><i> +</I>>><i> Does anybody know either from benchmarks or real world data what is the +</I>>><i> average memory footprint of each concurrent HTTPS connection to cowboy? +</I>>><i> +</I>><i> +</I>><i> I don't have anything, sorry. I'm guessing it consumes a lot more than TCP +</I>><i> though. +</I>><i> +</I>><i> +</I>><i> SSL app in Erlang reuses SSL session-ids so I am not sure if the Apache +</I>>><i> Bench I test with reuses the session id or it does not. +</I>>><i> +</I>><i> +</I>><i> I wouldn't know, but I wouldn't trust Apache Bench doing the right thing. +</I>><i> Any other benchmark tool usually works better in my experience. +</I>><i> +</I>><i> +</I>><i> BTW, what makes an erlang api "documented" vs "undocumented". For +</I>>><i> example ssl:session_info/1 function here ( +</I>>><i> <A HREF="https://github.com/erlang/otp/**blob/maint/lib/ssl/src/ssl.**erl#L411<https://github.com/erlang/otp/blob/maint/lib/ssl/src/ssl.erl#L411">https://github.com/erlang/otp/**blob/maint/lib/ssl/src/ssl.**erl#L411<https://github.com/erlang/otp/blob/maint/lib/ssl/src/ssl.erl#L411</A>>) has +</I>>><i> a spec and a short doc, but session_info is not described +</I>>><i> <A HREF="http://www.erlang.org/doc/man/**ssl.html<http://www.erlang.org/doc/man/ssl.html">http://www.erlang.org/doc/man/**ssl.html<http://www.erlang.org/doc/man/ssl.html</A>>.ssl:session_info/1 is a useful +</I>>><i> function to be able to track if the load generator is reusing the SSL +</I>>><i> session_id or it is generating new one, because that would make all the +</I>>><i> difference during measurement due to Erlang caching SSL sessions by +</I>>><i> default. +</I>>><i> +</I>><i> +</I>><i> The documentation is separate (they're not using edoc). It's perhaps not +</I>><i> deemed useful enough for documenting it. I wouldn't worry about using it +</I>><i> for measurements though. +</I>><i> +</I>><i> Try asking Ingela on the ML about it, perhaps they just forgot to document +</I>><i> it. +</I>><i> +</I>><i> -- +</I>><i> Loďc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20121221/8bfb2f11/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20121221/8bfb2f11/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000023.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI>Next message: <A HREF="000025.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#24">[ date ]</a> + <a href="thread.html#24">[ thread ]</a> + <a href="subject.html#24">[ subject ]</a> + <a href="author.html#24">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2012-December/000025.html b/_build/static/archives/extend/2012-December/000025.html new file mode 100644 index 00000000..498da5e8 --- /dev/null +++ b/_build/static/archives/extend/2012-December/000025.html @@ -0,0 +1,157 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy HTTPS connection memory usage + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20HTTPS%20connection%20memory%20usage&In-Reply-To=%3C50D49382.7020309%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="000024.html"> + <LINK REL="Next" HREF="000026.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy HTTPS connection memory usage</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20HTTPS%20connection%20memory%20usage&In-Reply-To=%3C50D49382.7020309%40ninenines.eu%3E" + TITLE="[99s-extend] Cowboy HTTPS connection memory usage">essen at ninenines.eu + </A><BR> + <I>Fri Dec 21 17:51:14 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000024.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI>Next message: <A HREF="000026.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#25">[ date ]</a> + <a href="thread.html#25">[ thread ]</a> + <a href="subject.html#25">[ subject ]</a> + <a href="author.html#25">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Can you try enabling eprof to see where the VM spends its time? + +On 12/21/2012 05:49 PM, rambocoder wrote: +><i> In my preliminary testing, I used Jmeter this morning since it's an +</I>><i> easy GUI load testing app and this is what I am seeing: +</I>><i> +</I>><i> With R15B03-01 [smp:4:4] [async-threads:4] [hipe] [kernel-poll:true], +</I>><i> when I establish 1K concurrent connections via HTTPS, each connection +</I>><i> takes up about 68K of memory. +</I>><i> +</I>><i> Unfortunately, after about 1050-1200 connections, on my test server the +</I>><i> Erlang scheduler jumps to 100% CPU utilization on all 4 schedulers, +</I>><i> while up to that point the scheduler's load was oscillating up and down. +</I>><i> Using the Observer, there is only 1 ssl_connection_sup in the ssl +</I>><i> application, having to deal with 1000+ gen_fsm workers, so that might be +</I>><i> the bottleneck. Since the ulimit on my server is 50000 I don't think I +</I>><i> am hitting any type of file handler's limit. +</I>><i> +</I>><i> Loïc and the group, am I missing some setting that is causing the +</I>><i> scheduler to go to 100% CPU and the run que in observer to be 99? +</I>><i> +</I>><i> Sincerely, +</I>><i> +</I>><i> rambocoder +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Fri, Dec 21, 2012 at 6:45 AM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>><i> +</I>><i> On 12/21/2012 04:34 AM, rambocoder wrote: +</I>><i> +</I>><i> Does anybody know either from benchmarks or real world data what +</I>><i> is the +</I>><i> average memory footprint of each concurrent HTTPS connection to +</I>><i> cowboy? +</I>><i> +</I>><i> +</I>><i> I don't have anything, sorry. I'm guessing it consumes a lot more +</I>><i> than TCP though. +</I>><i> +</I>><i> +</I>><i> SSL app in Erlang reuses SSL session-ids so I am not sure if the +</I>><i> Apache +</I>><i> Bench I test with reuses the session id or it does not. +</I>><i> +</I>><i> +</I>><i> I wouldn't know, but I wouldn't trust Apache Bench doing the right +</I>><i> thing. Any other benchmark tool usually works better in my experience. +</I>><i> +</I>><i> +</I>><i> BTW, what makes an erlang api "documented" vs "undocumented". For +</I>><i> example ssl:session_info/1 function here ( +</I>><i> <A HREF="https://github.com/erlang/otp/__blob/maint/lib/ssl/src/ssl.__erl#L411">https://github.com/erlang/otp/__blob/maint/lib/ssl/src/ssl.__erl#L411</A> +</I>><i> <<A HREF="https://github.com/erlang/otp/blob/maint/lib/ssl/src/ssl.erl#L411">https://github.com/erlang/otp/blob/maint/lib/ssl/src/ssl.erl#L411</A>> +</I>><i> ) has +</I>><i> a spec and a short doc, but session_info is not described +</I>><i> <A HREF="http://www.erlang.org/doc/man/__ssl.html">http://www.erlang.org/doc/man/__ssl.html</A> +</I>><i> <<A HREF="http://www.erlang.org/doc/man/ssl.html">http://www.erlang.org/doc/man/ssl.html</A>> .ssl:session_info/1 is +</I>><i> a useful +</I>><i> function to be able to track if the load generator is reusing +</I>><i> the SSL +</I>><i> session_id or it is generating new one, because that would make +</I>><i> all the +</I>><i> difference during measurement due to Erlang caching SSL sessions +</I>><i> by default. +</I>><i> +</I>><i> +</I>><i> The documentation is separate (they're not using edoc). It's perhaps +</I>><i> not deemed useful enough for documenting it. I wouldn't worry about +</I>><i> using it for measurements though. +</I>><i> +</I>><i> Try asking Ingela on the ML about it, perhaps they just forgot to +</I>><i> document it. +</I>><i> +</I>><i> -- +</I>><i> Loďc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I> + +-- +Loï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="000024.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI>Next message: <A HREF="000026.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#25">[ date ]</a> + <a href="thread.html#25">[ thread ]</a> + <a href="subject.html#25">[ subject ]</a> + <a href="author.html#25">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2012-December/000026.html b/_build/static/archives/extend/2012-December/000026.html new file mode 100644 index 00000000..fcb9a5c6 --- /dev/null +++ b/_build/static/archives/extend/2012-December/000026.html @@ -0,0 +1,206 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy HTTPS connection memory usage + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20HTTPS%20connection%20memory%20usage&In-Reply-To=%3CCAJ0zLRNud5vq9CnvZm8AgH1ZMPCzdkFe5tzdi5s13iP4HR6cuQ%40mail.gmail.com%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="000025.html"> + <LINK REL="Next" HREF="000027.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy HTTPS connection memory usage</H1> + <B>rambocoder</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20HTTPS%20connection%20memory%20usage&In-Reply-To=%3CCAJ0zLRNud5vq9CnvZm8AgH1ZMPCzdkFe5tzdi5s13iP4HR6cuQ%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy HTTPS connection memory usage">erlang at rambocoder.com + </A><BR> + <I>Fri Dec 21 20:25:10 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000025.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI>Next message: <A HREF="000027.html">[99s-extend] [ANN] Ranch 0.6.0 Xmas Edition Released +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#26">[ date ]</a> + <a href="thread.html#26">[ thread ]</a> + <a href="subject.html#26">[ subject ]</a> + <a href="author.html#26">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Long story short, I solved the problem by adding {max_connections, 50000} +to cowboy:start_https because it default to 1024 at +<A HREF="https://github.com/extend/ranch/blob/master/src/ranch_listener_sup.erl#L30">https://github.com/extend/ranch/blob/master/src/ranch_listener_sup.erl#L30</A> + +However, before I figured out that setting, I did run eprof and these are +the function calls it was spending most of it's time on + + +FUNCTION CALLS % TIME [uS / +CALLS] +-------- ----- --- ---- + [----------] +dict:get_slot/2 174 1.73 1658 [ + 9.53] +dict:on_bucket/3 171 1.77 1701 [ + 9.95] +erlang:setelement/3 684 3.23 3098 [ + 4.53] +dict:store_bkt_val/3 600 5.24 5028 [ + 8.38] + +Then I ran etop and it showed that ranch_acceptor:maybe_wait had the most +reductions were, so I looked at the code in that +<A HREF="https://github.com/extend/ranch/blob/master/src/ranch_acceptor.erl#L72">https://github.com/extend/ranch/blob/master/src/ranch_acceptor.erl#L72</A> and +realized that like a newb I did not set the maximum connections for the +listener :) + +Problem solved. Looks like I won't need to put HAProxy in front of Cowboy +after all. + +Thank you, + +rambocoder + +On Fri, Dec 21, 2012 at 11:51 AM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> Can you try enabling eprof to see where the VM spends its time? +</I>><i> +</I>><i> +</I>><i> On 12/21/2012 05:49 PM, rambocoder wrote: +</I>><i> +</I>>><i> In my preliminary testing, I used Jmeter this morning since it's an +</I>>><i> easy GUI load testing app and this is what I am seeing: +</I>>><i> +</I>>><i> With R15B03-01 [smp:4:4] [async-threads:4] [hipe] [kernel-poll:true], +</I>>><i> when I establish 1K concurrent connections via HTTPS, each connection +</I>>><i> takes up about 68K of memory. +</I>>><i> +</I>>><i> Unfortunately, after about 1050-1200 connections, on my test server the +</I>>><i> Erlang scheduler jumps to 100% CPU utilization on all 4 schedulers, +</I>>><i> while up to that point the scheduler's load was oscillating up and down. +</I>>><i> Using the Observer, there is only 1 ssl_connection_sup in the ssl +</I>>><i> application, having to deal with 1000+ gen_fsm workers, so that might be +</I>>><i> the bottleneck. Since the ulimit on my server is 50000 I don't think I +</I>>><i> am hitting any type of file handler's limit. +</I>>><i> +</I>>><i> Loïc and the group, am I missing some setting that is causing the +</I>>><i> scheduler to go to 100% CPU and the run que in observer to be 99? +</I>>><i> +</I>>><i> Sincerely, +</I>>><i> +</I>>><i> rambocoder +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> On Fri, Dec 21, 2012 at 6:45 AM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>>><i> +</I>>><i> On 12/21/2012 04:34 AM, rambocoder wrote: +</I>>><i> +</I>>><i> Does anybody know either from benchmarks or real world data what +</I>>><i> is the +</I>>><i> average memory footprint of each concurrent HTTPS connection to +</I>>><i> cowboy? +</I>>><i> +</I>>><i> +</I>>><i> I don't have anything, sorry. I'm guessing it consumes a lot more +</I>>><i> than TCP though. +</I>>><i> +</I>>><i> +</I>>><i> SSL app in Erlang reuses SSL session-ids so I am not sure if the +</I>>><i> Apache +</I>>><i> Bench I test with reuses the session id or it does not. +</I>>><i> +</I>>><i> +</I>>><i> I wouldn't know, but I wouldn't trust Apache Bench doing the right +</I>>><i> thing. Any other benchmark tool usually works better in my experience. +</I>>><i> +</I>>><i> +</I>>><i> BTW, what makes an erlang api "documented" vs "undocumented". For +</I>>><i> example ssl:session_info/1 function here ( +</I>>><i> <A HREF="https://github.com/erlang/otp/**__blob/maint/lib/ssl/src/ssl._**">https://github.com/erlang/otp/**__blob/maint/lib/ssl/src/ssl._**</A> +</I>>><i> _erl#L411<<A HREF="https://github.com/erlang/otp/__blob/maint/lib/ssl/src/ssl.__erl#L411">https://github.com/erlang/otp/__blob/maint/lib/ssl/src/ssl.__erl#L411</A>> +</I>>><i> +</I>>><i> <<A HREF="https://github.com/erlang/**otp/blob/maint/lib/ssl/src/**">https://github.com/erlang/**otp/blob/maint/lib/ssl/src/**</A> +</I>>><i> ssl.erl#L411<<A HREF="https://github.com/erlang/otp/blob/maint/lib/ssl/src/ssl.erl#L411">https://github.com/erlang/otp/blob/maint/lib/ssl/src/ssl.erl#L411</A>> +</I>>><i> > +</I>>><i> ) has +</I>>><i> a spec and a short doc, but session_info is not described +</I>>><i> <A HREF="http://www.erlang.org/doc/man/**__ssl.html<http://www.erlang.org/doc/man/__ssl.html">http://www.erlang.org/doc/man/**__ssl.html<http://www.erlang.org/doc/man/__ssl.html</A>> +</I>>><i> +</I>>><i> <<A HREF="http://www.erlang.org/doc/**man/ssl.html<http://www.erlang.org/doc/man/ssl.html">http://www.erlang.org/doc/**man/ssl.html<http://www.erlang.org/doc/man/ssl.html</A>>> +</I>>><i> .ssl:session_info/1 is +</I>>><i> a useful +</I>>><i> function to be able to track if the load generator is reusing +</I>>><i> the SSL +</I>>><i> session_id or it is generating new one, because that would make +</I>>><i> all the +</I>>><i> difference during measurement due to Erlang caching SSL sessions +</I>>><i> by default. +</I>>><i> +</I>>><i> +</I>>><i> The documentation is separate (they're not using edoc). It's perhaps +</I>>><i> not deemed useful enough for documenting it. I wouldn't worry about +</I>>><i> using it for measurements though. +</I>>><i> +</I>>><i> Try asking Ingela on the ML about it, perhaps they just forgot to +</I>>><i> document it. +</I>>><i> +</I>>><i> -- +</I>>><i> Loďc Hoguin +</I>>><i> Erlang Cowboy +</I>>><i> Nine Nines +</I>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> ______________________________**_________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>><i> <A HREF="http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend</A>> +</I>>><i> +</I>>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20121221/945f636e/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20121221/945f636e/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000025.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + <LI>Next message: <A HREF="000027.html">[99s-extend] [ANN] Ranch 0.6.0 Xmas Edition Released +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#26">[ date ]</a> + <a href="thread.html#26">[ thread ]</a> + <a href="subject.html#26">[ subject ]</a> + <a href="author.html#26">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2012-December/000027.html b/_build/static/archives/extend/2012-December/000027.html new file mode 100644 index 00000000..37cf6add --- /dev/null +++ b/_build/static/archives/extend/2012-December/000027.html @@ -0,0 +1,115 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [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%5BANN%5D%20Ranch%200.6.0%20Xmas%20Edition%20Released&In-Reply-To=%3C50D8DA63.2060600%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="000026.html"> + + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [ANN] Ranch 0.6.0 Xmas Edition Released</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Ranch%200.6.0%20Xmas%20Edition%20Released&In-Reply-To=%3C50D8DA63.2060600%40ninenines.eu%3E" + TITLE="[99s-extend] [ANN] Ranch 0.6.0 Xmas Edition Released">essen at ninenines.eu + </A><BR> + <I>Mon Dec 24 23:42:43 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000026.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#27">[ date ]</a> + <a href="thread.html#27">[ thread ]</a> + <a href="subject.html#27">[ subject ]</a> + <a href="author.html#27">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Ho ho ho! + +I have just tagged version 0.6.0 of the Ranch project! + +Ranch is a socket acceptor pool for TCP protocols. + + <A HREF="https://github.com/extend/ranch">https://github.com/extend/ranch</A> + +Ranch is used by the next version of Cowboy, 0.8.0, set to be released +early February, but also in Basho's Riak multi-data center replication +amongst others. + +All tickets have been resolved. A significant contribution was made by +Andrew Majorov to improve the fault tolerance capabilities of the +application, making sure it always restarts properly when things go +wrong. This has been made possible thanks to the amazing project from +Daniel Luna, chaos_monkey (<A HREF="https://github.com/dluna/chaos_monkey">https://github.com/dluna/chaos_monkey</A>). + +The guide has also been improved and completed. + + <A HREF="http://ninenines.eu/docs/en/ranch/HEAD/guide/introduction">http://ninenines.eu/docs/en/ranch/HEAD/guide/introduction</A> + +If the guide isn't enough, drop by our new IRC channel dedicated to +Cowboy, Ranch and all our other projects! #ninenines on Freenode. + +Following is the list of change since last time: + + * Improve fault tolerance thanks to chaos_monkey testing + * Add 'nodelay' option to transports + * Add 'verify' option to ranch_ssl transport + * Add 'socket' option to pass an already open socket to the listener + * Add Transport:sendfile/2 function (uses a fallback if unavailable) + * Allow IP tuples in Transport:connect/3 + * Add ranch:set_max_connections/2 to update the value live + * Add ranch:get_max_connections/1 to retrieve it + +We are always looking for feedback, especially now that there is no +ticket left open on this project. If you are using Ranch and have +questions or needs that it doesn't cover, please send them to us. + +Commercial support will be available starting from January, ping me if +you are interested. Details will be announced at a later time on the +ninenines.eu mailing list. + +I want to thank all contributors for helping this project by opening +tickets, sending patches and offering feedback. I am as always very +grateful for any and all contributions. I wouldn't have made it this far +without the tremendous help I receive everyday. + +Thanks to all and have a nice holiday! + +-- +Loïc Hoguin +Erlang Santa +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000026.html">[99s-extend] Cowboy HTTPS connection memory usage +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#27">[ date ]</a> + <a href="thread.html#27">[ thread ]</a> + <a href="subject.html#27">[ subject ]</a> + <a href="author.html#27">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2012-December/author.html b/_build/static/archives/extend/2012-December/author.html new file mode 100644 index 00000000..485a6f0b --- /dev/null +++ b/_build/static/archives/extend/2012-December/author.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend December 2012 Archive by author</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>December 2012 Archives by author</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Wed Dec 12 22:14:50 CET 2012</i><br> + <b>Ending:</b> <i>Mon Dec 24 23:42:43 CET 2012</i><br> + <b>Messages:</b> 10<p> + <ul> + +<LI><A HREF="000019.html">[99s-extend] Streaming response in cowboy question +</A><A NAME="19"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000020.html">[99s-extend] Nine Nines IRC Channel +</A><A NAME="20"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000023.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="23"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000025.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="25"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000027.html">[99s-extend] [ANN] Ranch 0.6.0 Xmas Edition Released +</A><A NAME="27"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000018.html">[99s-extend] Streaming response in cowboy question +</A><A NAME="18"> </A> +<I>Grzegorz Junka +</I> + +<LI><A HREF="000021.html">[99s-extend] Nine Nines IRC Channel +</A><A NAME="21"> </A> +<I>Jeremy Ong +</I> + +<LI><A HREF="000022.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="22"> </A> +<I>rambocoder +</I> + +<LI><A HREF="000024.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="24"> </A> +<I>rambocoder +</I> + +<LI><A HREF="000026.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="26"> </A> +<I>rambocoder +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Mon Dec 24 23:42:43 CET 2012</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:42 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/_build/static/archives/extend/2012-December/date.html b/_build/static/archives/extend/2012-December/date.html new file mode 100644 index 00000000..c6482ffb --- /dev/null +++ b/_build/static/archives/extend/2012-December/date.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend December 2012 Archive by date</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>December 2012 Archives by date</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Wed Dec 12 22:14:50 CET 2012</i><br> + <b>Ending:</b> <i>Mon Dec 24 23:42:43 CET 2012</i><br> + <b>Messages:</b> 10<p> + <ul> + +<LI><A HREF="000018.html">[99s-extend] Streaming response in cowboy question +</A><A NAME="18"> </A> +<I>Grzegorz Junka +</I> + +<LI><A HREF="000019.html">[99s-extend] Streaming response in cowboy question +</A><A NAME="19"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000020.html">[99s-extend] Nine Nines IRC Channel +</A><A NAME="20"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000021.html">[99s-extend] Nine Nines IRC Channel +</A><A NAME="21"> </A> +<I>Jeremy Ong +</I> + +<LI><A HREF="000022.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="22"> </A> +<I>rambocoder +</I> + +<LI><A HREF="000023.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="23"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000024.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="24"> </A> +<I>rambocoder +</I> + +<LI><A HREF="000025.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="25"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000026.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="26"> </A> +<I>rambocoder +</I> + +<LI><A HREF="000027.html">[99s-extend] [ANN] Ranch 0.6.0 Xmas Edition Released +</A><A NAME="27"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Mon Dec 24 23:42:43 CET 2012</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:42 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/_build/static/archives/extend/2012-December/index.html b/_build/static/archives/extend/2012-December/index.html new file mode 120000 index 00000000..db4b46f7 --- /dev/null +++ b/_build/static/archives/extend/2012-December/index.html @@ -0,0 +1 @@ +thread.html
\ No newline at end of file diff --git a/_build/static/archives/extend/2012-December/subject.html b/_build/static/archives/extend/2012-December/subject.html new file mode 100644 index 00000000..4b1b63ee --- /dev/null +++ b/_build/static/archives/extend/2012-December/subject.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend December 2012 Archive by subject</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>December 2012 Archives by subject</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Wed Dec 12 22:14:50 CET 2012</i><br> + <b>Ending:</b> <i>Mon Dec 24 23:42:43 CET 2012</i><br> + <b>Messages:</b> 10<p> + <ul> + +<LI><A HREF="000027.html">[99s-extend] [ANN] Ranch 0.6.0 Xmas Edition Released +</A><A NAME="27"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000022.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="22"> </A> +<I>rambocoder +</I> + +<LI><A HREF="000023.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="23"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000024.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="24"> </A> +<I>rambocoder +</I> + +<LI><A HREF="000025.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="25"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000026.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="26"> </A> +<I>rambocoder +</I> + +<LI><A HREF="000020.html">[99s-extend] Nine Nines IRC Channel +</A><A NAME="20"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000021.html">[99s-extend] Nine Nines IRC Channel +</A><A NAME="21"> </A> +<I>Jeremy Ong +</I> + +<LI><A HREF="000018.html">[99s-extend] Streaming response in cowboy question +</A><A NAME="18"> </A> +<I>Grzegorz Junka +</I> + +<LI><A HREF="000019.html">[99s-extend] Streaming response in cowboy question +</A><A NAME="19"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Mon Dec 24 23:42:43 CET 2012</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:42 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/_build/static/archives/extend/2012-December/thread.html b/_build/static/archives/extend/2012-December/thread.html new file mode 100644 index 00000000..5658bece --- /dev/null +++ b/_build/static/archives/extend/2012-December/thread.html @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend December 2012 Archive by thread</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>December 2012 Archives by thread</h1> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Wed Dec 12 22:14:50 CET 2012</i><br> + <b>Ending:</b> <i>Mon Dec 24 23:42:43 CET 2012</i><br> + <b>Messages:</b> 10<p> + <ul> + +<!--0 01355346890.18- --> +<LI><A HREF="000018.html">[99s-extend] Streaming response in cowboy question +</A><A NAME="18"> </A> +<I>Grzegorz Junka +</I> + +<UL> +<!--1 01355346890.18-01355347846.19- --> +<LI><A HREF="000019.html">[99s-extend] Streaming response in cowboy question +</A><A NAME="19"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01355682240.20- --> +<LI><A HREF="000020.html">[99s-extend] Nine Nines IRC Channel +</A><A NAME="20"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--1 01355682240.20-01355685016.21- --> +<LI><A HREF="000021.html">[99s-extend] Nine Nines IRC Channel +</A><A NAME="21"> </A> +<I>Jeremy Ong +</I> + +</UL> +<!--0 01356060863.22- --> +<LI><A HREF="000022.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="22"> </A> +<I>rambocoder +</I> + +<UL> +<!--1 01356060863.22-01356090323.23- --> +<LI><A HREF="000023.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="23"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01356060863.22-01356090323.23-01356108577.24- --> +<LI><A HREF="000024.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="24"> </A> +<I>rambocoder +</I> + +<UL> +<!--3 01356060863.22-01356090323.23-01356108577.24-01356108674.25- --> +<LI><A HREF="000025.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="25"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01356060863.22-01356090323.23-01356108577.24-01356108674.25-01356117910.26- --> +<LI><A HREF="000026.html">[99s-extend] Cowboy HTTPS connection memory usage +</A><A NAME="26"> </A> +<I>rambocoder +</I> + +</UL> +</UL> +</UL> +<!--0 01356388963.27- --> +<LI><A HREF="000027.html">[99s-extend] [ANN] Ranch 0.6.0 Xmas Edition Released +</A><A NAME="27"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Mon Dec 24 23:42:43 CET 2012</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:42 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + |