Boost logo

Boost Users :

Subject: Re: [Boost-users] Can I implement asynchronous and non-blocking socket IO with boost.asio on LINUX?
From: Marat Abrarov (abrarov_at_[hidden])
Date: 2013-04-14 09:40:42


> I think this implementation looks similar to ACE. The proactor
> implementation varies depends on platforms. ACE uses native asynch IO
> features for Windows, Solaris but not for LINUX.
> I wanted to know if boost.asio implements asynch IO for LINUX not like
> ACE.

RTFM?
http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/overview/implementa
tion.html

> Then does proactor of boost.asio on LINUX work well? If it is portable I
> guess it should though.
>
> Do people use proactor of boost.asio on LINUX?

http://think-async.com/Asio/WhoIsUsingAsio

As far as I know, the best performance at Linux can be achieved using
"io_service-per-CPU design":
http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/examples.html#boost
_asio.examples.http_server_2

Regards,
Marat Abrarov.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net