Boost logo

Boost :

Subject: Re: [boost] ASIO TCP socket scalability for large scale connections
From: Richard Hodges (hodges.r_at_[hidden])
Date: 2018-12-23 16:53:50


I've managed 100,000 simultaneous tcp connections to a c++ server using
boost::beast/asio on an appropriately configured fedora linux host.

ASIO's memory overhead is minimal if written nicely.

On Sun, 23 Dec 2018 at 01:06, Vinnie Falco via Boost <boost_at_[hidden]>
wrote:

> On Sat, Dec 22, 2018 at 3:01 PM hh h via Boost <boost_at_[hidden]>
> wrote:
> > What will be the maximum connections a single ASIO TCP
> > socket server can handle?
>
> Asio doesn't contain magic or reinvent the wheel here, `basic_socket`
> is a very thin abstraction over a file handle representing a socket.
> You need to look to the limits of your operating system and
> configuration to know the baseline limit. And of course subtract from
> that any additional per-connection resources that your application
> uses.
>
> Regards
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

-- 
Richard Hodges
hodges.r_at_[hidden]
office: +442032898513
home: +376841522
mobile: +376380212 (this will be *expensive* outside Andorra!)
skype: madmongo
facebook: hodges.r

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk