[Lazarus] GUI development for web UI

Michael Van Canneyt michael at freepascal.org
Fri Dec 3 14:07:13 CET 2010

On Fri, 3 Dec 2010, Michael Schnell wrote:

> On 12/03/2010 01:56 PM, Michael Van Canneyt wrote:
>> What he said pertains to the inner workings of Apache,,,,
> So when doing a multithreaded FCGI "Server" that uses a thread pool, the 
> managing what thread is to be used when (creating additional threads or 
> manage a queue if more requests com in than Thread are available), needs to 
> be done by the FCGI Server itself.

Apache has no control over this process, other than starting it on demand.
(presumably, it will even start it many times, if many requests come in)

> I suppose this needs to  be done by some kind of central "Thread Scheduler" 
> (supposedly done by the application main thread). This in fact might create a 
> performance limitation.

It might.

You can do of course everything in a single thread, and then it is definitely 
even less performant :-)


More information about the Lazarus mailing list