Signin
Playing with Twisted and Medusa

This morning, I am playing with both Medusa and Twisted.  Both are Python frameworks for writing socket-based servers (i.e. HTTP, FTP, etc.).  Zope was based on Medusa, but there was talk about replacing Medusa with Twisted.  I like Medusa because its straight forward.  I was up and serving web pages in 10 minutes with Medusa.  Twisted is, well, twisted and harder to figure out.  I'll bang on it for the rest of the afternoon.  Stackless Python looks interesting and useful for running large population of desktop agents, but I don't have time to examine it in detail.  Problem with all these crazy Python projects are that documentation is generally poor and one has to resort to Googling web sites and newsgroups.  I am starting to miss Java already...

Comments
I would use the standard SocketServer and BaseHTTPServer etc. classes instead.

Thanks for the info Fazal. I am looking to run a desktop webserver for serving local content to the desktop user, so scalability and concurrency issues should have little impact. I do want to run 1000+persistent agents at some point without suffocating normal desktop applications.

Comment has been disabled for this post.