Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] poor read performance with 10Mb
From: Perry, Daniel (PerryD_at_[hidden])
Date: 2009-08-26 11:04:07


The problem is reading a large file from a socket, not writing to. I'm going to modify the http server 3 to support http put and see if I can duplicate the problem with that.
 

-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Igor R
Sent: Wednesday, August 26, 2009 10:48 AM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] [asio] poor read performance with 10Mb

> Not easily,
>
> The application with the trouble is a windows service that sits behind a lighttpd server.  The client app is an exe that uses the libcurl library to send the data.  I'm on windows BTW.
>
> Perhaps I could start with the http server 3 and implement a http put method, I'll see the feasibility of that.

If I got you right, you say that reading a big file and sending it to a socket - by means of ASIO - takes a lot of time. This's unreleated to any other functionality - http or win.service - and could be easily isolated and reproduced in a few lines of code...
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


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