cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multiple multi-handles in multiple thread: what's the best practice

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 25 Nov 2010 11:36:37 -0800

On Thu, Nov 25, 2010 at 11:41:14PM +0800, Fei Yan wrote:
> We use multiple multi-handles by libcurl's multi-interface for HTTPS uploading
> on Solaris 10 server.Because of the performance costs on openssl's read/write
> (we need to transfer over 1000 files within 1 second, but the single threaded
> multihandle can only achieve 300 jobs because of openssl costs), we decided to
> use the multi-interface in multiple threads.

Have you looked at other TLS libraries? libcurl supports several others if
OpenSSL is giving you performance issues.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-25