[erlang-questions] Heavy duty erlang HTTP/REST client
Benoit Chesneau
bchesneau@REDACTED
Sat Apr 5 09:13:03 CEST 2014
On Thursday, April 3, 2014, Vladimir Ralev <vladimir.ralev@REDACTED> wrote:
> Hi all,
>
> I've been struggling with httpc and ibrowse to do sort of long-polling
> REST requests in large numbers. Basically I have a "slow" server that
> responds in 30-60 seconds to all HTTP requests. Both httpc and ibrowse seem
> to freeze at some point no matter what settings I use - I set max sessions
> to 10000, disable pipelining, adjust timeouts tried several random configs,
> but at some point they all freeze and no longer attempt to connect and send
> new requests. Ibrowse gives the retry_later and httpc just freezes. Any
> recommendation?
>
you can try hackney:
http://github.com/benoitc/hackney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140405/ea06e9c9/attachment.htm>
More information about the erlang-questions
mailing list