[erlang-questions] Fwd: Heavy duty erlang HTTP/REST client

Vladimir Ralev <>
Sat Apr 5 05:42:29 CEST 2014


Right, it comes down to this:

1. I set this in my app:
 ibrowse:set_max_sessions("mydest.com",80,10000).

2. The other app calls apply_config which apparently deletes all previous
configs for all destinations:

apply_config(Terms) ->

    ets:delete_all_objects(ibrowse_conf),

    insert_config(Terms).


Thanks again.


On Fri, Apr 4, 2014 at 11:10 PM, Chandru <
> wrote:

> Just for the record, ibrowse is not the problem! Thanks for the update
> Vlad.
>
> Chandru
>
> ---------- Forwarded message ----------
> From: Vladimir Ralev <>
> Date: 4 April 2014 17:34
> Subject: Re: [erlang-questions] Heavy duty erlang HTTP/REST client
> To: Chandru <>
>
>
> Thanks guys. Ibrowse actually works, my settings were being reset by a
> third party app that uses it periodically in the background since these
> settings are global.
>
>
> On Thu, Apr 3, 2014 at 1:49 AM, Chandru <
> > wrote:
>
>> Hi Vladimir,
>>
>> Would love to help ibrowse work for you. Do you want to work together on
>> this?
>>
>> cheers
>> Chandru
>>
>>
>> On 2 April 2014 23:25, Vladimir Ralev <> 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?
>>>
>>> _______________________________________________
>>> erlang-questions mailing list
>>> 
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>>
>>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140405/82c1b579/attachment.html>


More information about the erlang-questions mailing list