Lookery Dev Blog RSS

"Stream of geeky consciousness..." @electromute


Authors
@ckelly@danmil
@dcancel@eliast

Friends


Archive

Oct
29th
Wed
permalink

A Better Erlang HTTP Client

The main OTP library comes with a suite of internet servers and clients called inets, one piece of which is an http client.  During some load testing, I found that that http client was blowing up when large numbers of concurrent requests were being issued.  What’s more, I found the following ominously unanswered question on the Erlang questions mailing list:

http://www.trapexit.org/forum/viewtopic.php?p=4402

That was exactly the problem I was seeing.  Did some googling, found an alternate, open source http client called ibrowse.  It worked great, and I am now seeing the marvelous scalablity for which Erlang is known.

One thing: getting ibrowse is a bit more work than it should be.  It’s a part of the jungerl code collection, which, as far as I could tell, I had to check out from cvs.  Which meant a trip to SourceForge, and a great deal of confusion.  Found the page eventually at:

http://sourceforge.net/cvs/?group_id=73688

Happy with it so far…

-Dan M

Comments (View)
blog comments powered by Disqus