Re: where is the real HEAD?

Florian Festi <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <Pine.GHP.4.33.0312281458040.20186-100000@rupert.informatik.uni-stuttgart.de>

On Sun, 28 Dec 2003, Oliver Graf wrote:

> On Sun, Dec 28, 2003 at 11:22:45AM +0100, Oliver Graf wrote:
> > Yep, that code looks well suited for a FastCGI adaption. I think this
> > should get me a running FastCGI version this evening. Should I send patches
> > to this list?

Perhaps it's better to create a page about your changes in the MOinMoin
wiki and attache the patch there (but that's more or less my personal
taste).

> Ok, I've got a multi-threaded FastCGI MoinMoin running, but I don't
> know if this would be stable, cause there are lot of places where
> globals are used. So it would be better to swicth to a single threaded
> FastCGI version.
>
> As I told before, I don't have any knowledge what twisted ist (sounds
> a lot like Zope). Does anybody know if twisted is multi-threaded? If
> yes, and MoinMoin makes no problems with it's globals, it should also
> be save to run a multi-threaded FastCGI MoinMoin... (normally a global
> dict as in user.py should be thread-save by pythons implementation --
> but a mutex would be normally the right thing to employ in such
> places...)

twisted is a python frame work containing lots of things. For details you
should ask Thomas Waldmann who developed the twisted support. AFAIK
MoinMoin runs multi threaded with in twisted although twisted prefers
single threaded applications.

> I made changes to request.py (new RequestFastCGI), added a fcgmain
> which handles FastCGI requests and starts the fcg main loop, added a
> threaded FastCGI library (thfcgi.py) and a main.fcg.

cool.

	cu

		Florian Festi



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.