Hello Francois,

> Given the event driven nature of ICS, the file is read one block at a time
> without using CPU nor blocking the HTTP server thread. There is problem
> delivering many files simultaneously.

I suppose you meant "There is no problem" here :-)

> You can implement throttling using a simple timer. See how it is implemented
> in the HTTP client component.

I didn't know that it's possible to just "pause" an tWSocket. The idea
of using a simple timer is great!

So thanks for your comments and I suppose that I will start with a pure
asynchronous implementation of my HTTP server application. Probably I
will switch to "thread pools" in a later phase to make full use of
multi-core CPUs which are so common these days.

Thanks again,
Tobias

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to