I would like to make a quick survey to find out if there is anyone out
there that is
using active once or active true socket option together with the inet
option {packet, http | http_bin} .
If you are please drop me a line
Yaws and Mochiweb seems to use passive mode.
Regards Ingela Erlang/OTP team - Ericsson AB
________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-questio...@erlang.org
http://code.google.com/p/misultin/
cheers,
r.
2010/8/17 Ingela Andin <ing...@erlang.org>:
--
-------------------------------------------------------------------
Roberto Ostinelli
CTO, WideTag Inc. - Realtime, Social, Green
widetag.com
skype: rostinelli
twitter: ostinelli
mobile: +39 335 6 100 22 6
I've played with {active, once}, it seems like it might be a little
bit faster than passive. A future version of mochiweb might use it, at
least for the request line and headers, similar to what misultin does.
-bob
Bob, I think you're right -- we just did some measurements last week
that appeared to show that {active, once} is indeed a bit faster than
passive mode.
Ingela, I use {active, once} for HTTP headers in the system I work on.
--steve
definitely. according to my benches, it was around 8-12% faster on R13B01.
r.
Why do you ask?
/Tony
...No load/profiling stats as yet. Probably a month or two before I'll
get to those.
/s
On Aug 17, 8:16 pm, Steve Davis <steven.charles.da...@gmail.com>
wrote:
> I'm experimenting with {active, true}....