durusmail: quixote-users: Newbie question about threads
Newbie question about threads
2004-11-08
2004-11-08
2004-11-08
2004-11-08
2004-11-08
2004-11-09
2004-11-09
Byte-compyle Python/PTL files (was: Newbie question about threads)
2004-11-10
Newbie question about threads
Martin Maney
2004-11-09
On Mon, Nov 08, 2004 at 12:43:54PM -0800, Mike Orr wrote:
> spelling correction too.  My understanding is that Quixote has neither
> threads nor an asynchronous model, so all other requests will freeze
> while a search query is running.

If you're running all requests in a single process, yes.

> Does it matter which webserver adapter a threaded application uses?
> I'm undecided between SCGI, FastCGI, and mod_python.  I'm currently
> using CGI for development.

If the database is going to be the choker for this, have you considered
continuing as you've begun?  CGI has the nice property that it spawns
a Quixote process per request, so no request is ever left waiting for
its Quixote process to finish some other request.  Of course that's
also the drawback of CGI if the overhead of starting up a process
becomes too large a portion of the cost of servicing the request.

I only ask because I know how often I've looked right past the obvious
while pondering the arcana of a more interesting solution. 

--
It isn't that secrets are never needed in security.
It's that they are never desirable.  -- Whitfield Diffie


reply