471,075 Members | 716 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

(pre)forking server framework?


Hi!

I'm quite new to Python development. Can someone advise me a framework
useful for building (pre-)forking or threaded TCP servers, other than
SocketServer ? I've seen source code of a few python-based app servers,
all of theme seem to reinvent the wheel, eventually reusing
SocketServer. I'd appreciate a framework with logging, process/thread
pool, signal handling etc. Just plug-in a protocol implementation and
go !

Yes, I know Twisted, but asynchronous model is an overkill for me in
this particular project. I do not need high performance, simple forking
suites my needs better.

BR,
Przemek

Jun 12 '06 #1
3 1996
cz*****@czajsoft.pl wrote:

Hi!

I'm quite new to Python development. Can someone advise me a framework
useful for building (pre-)forking or threaded TCP servers, other than
SocketServer ? I've seen source code of a few python-based app servers,
all of theme seem to reinvent the wheel, eventually reusing
SocketServer. I'd appreciate a framework with logging, process/thread
pool, signal handling etc. Just plug-in a protocol implementation and
go !

Yes, I know Twisted, but asynchronous model is an overkill for me in
this particular project. I do not need high performance, simple forking
suites my needs better.


Why do you care if the asynchronous model is overkill or the performance is
good? Twisted comes close to what you want - and using its strength as
arguments against it strikes me as odd.

Diez
Jun 12 '06 #2

Diez B. Roggisch napisal(a):
Why do you care if the asynchronous model is overkill or the performance is
good? Twisted comes close to what you want - and using its strength as
arguments against it strikes me as odd.


I was unclear :) I mean I don't like using asynchronous model for the
kind of job I have to do, as it's more complicated I think. Simple
blocking synchronous communication, with one process per connection is
all I need. Also this is going to be a kind of system management
software, and forking has other advantages to me. Maybe I'll give
Twisted a chance, need to spend some time experimenting with it.

BR,
Przemek

Jun 12 '06 #3
Am Mon, 12 Jun 2006 06:22:52 -0700 schrieb czajnik:

Hi!

I'm quite new to Python development. Can someone advise me a framework
useful for building (pre-)forking or threaded TCP servers, other than
SocketServer ? I've seen source code of a few python-based app servers,
all of theme seem to reinvent the wheel, eventually reusing
SocketServer. I'd appreciate a framework with logging, process/thread
pool, signal handling etc. Just plug-in a protocol implementation and
go !


quixote has an scgi server which uses pre-forking worker processes.

http://www.mems-exchange.org/software/quixote/
HTH,
Thomas

--
Thomas GŁttler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: ni**************@thomas-guettler.de

Jun 12 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by bryan | last post: by
34 posts views Thread by antonyliu2002 | last post: by
13 posts views Thread by CoreyWhite | last post: by
3 posts views Thread by =?Utf-8?B?VmFuZXNzYQ==?= | last post: by
3 posts views Thread by Scottman | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.