Sockets and messaging services

Stephen shriek at gmx.co.uk
Tue Nov 13 19:14:34 EST 2001


Thanks for the reply Laurent

> > I have a CGI script which takes a HTTP request then sends
> > a message to a custom server built on top of SocketServer.ThreadingTCPServer.
> > Not that there is much chance of webserver CGI saturating the latter,
> > but does Python have a messaging framework, similar to JMS for Java ?
> > http://developer.java.sun.com/developer/technicalArticles/Networking/messaging/
> 
> Not that I'm aware.
> 
> However, why reinvent the wheel and a new messaging framework?
> 
> IMHO the SMTP and POP protocols provide the same benefit (and there
> are Python modules for those protocols).

Using a mailserver as a messaging platform for middleware ?
Now that's lateral thinking.  It also screams of "huge hack"
and I can't imagine it would be as flexible or scalable as a
proper message queue server.  Alternatives might be Pyro/CORBA/etc
but I don't think they deal with the queueing aspect.

Stephen



More information about the Python-list mailing list