[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] Blocking read and performance
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] Blocking read and performance |
Date: |
Thu, 24 Oct 2013 10:48:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9 |
On 10/23/2013 10:19 PM, Adam Almos Homolya wrote:
> My second question is when using external select, can I somehow run
> libmicrohttpd daemon in a threadpool? If yes are there any examples out
> there for that?
You might want to start here:
https://gnunet.org/svn/libmicrohttpd/src/examples/benchmark.c
> My last question is rather general: Is the library viable for streaming
> large amount of data for relatively big number of connections with a web
> service?
Yes. Use epoll mode and MHD can handle whatever your hardware can
physically
do within the limits of your application logic.
-Christian