tuning riak for 100s of concurrent connections

Wilson MacGyver wmacgyver at gmail.com
Fri Feb 25 13:54:54 EST 2011


SO_REUSEADDR is also something you set at the socket API as I recall.
So I don't think it's something you can just set on the TCP/IP itself
as a global setting.

On Fri, Feb 25, 2011 at 1:41 PM, Les Mikesell <lesmikesell at gmail.com> wrote:
> Those settings shouldn't make a big difference in how the number of
> connections scale up, though.  There is a theoretical maximum rate limit for
> creating new connections as each socket is supposed to sit in TIME_WAIT for
> a packet round-trip time to ensure that nothing outstanding will collide
> with that socket number when it is reused for the same IP address.  Maybe
> your test is hitting that limit.  Can you set SO_REUSEADDR?


-- 
Omnem crede diem tibi diluxisse supremum.




More information about the riak-users mailing list