Boost logo

Boost Users :

Subject: Re: [Boost-users] ASIO or Thread
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-11-07 20:34:17


On Thu, Nov 5, 2009 at 11:09 PM, Lloyd <lloyd_at_[hidden]> wrote:
> Hi,
>  We need to develop a server in a LAN environment, in which the number of
> connections at a time will be less, but the data traffic per connection will
> be huge (gigabytes). So for the best performance which library is better?
> ASIO or Thread?
>
> Is thre is any specif advice for attaining the maximum performace (data
> rate)? I am a newbie.

Since you generally use ASIO *with* Threads, I would imagine that
would be best, and if you set it up asynchronously, then I would say
that the number of threads equaling the number of CPU cores in the
computer would be best. Might wait for an expert though.


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