In message <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:

> I'm thinking about coding some sort of 'local notify server' in twisted
> (basically just listening to a socket and then passing the information
> to the IM bot), then connecting to it via a python socket in django and
> passing some serialized/pickled data.

That sounds like the right sort of thing. I've done this sort of thing
myself, though I've been careful not to use any language-specific
communication formats.

> I worry about two requests 
> connecting to the 'notify server' at once, though, because i *cannot*
> hang my web server.

Your Web server won't hang. The particular Web server thread/process waiting
for the request to be serviced will be held up, and so of course will the
particular user sitting in front of the browser waiting for a response from
that thread/process, but nobody else will notice anything.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to