Thanks for the suggestion. I will look into replacing select but first I need to learn more about Twisted. I just discovered it a week or so ago.

I will probably change the main site. A more durable link would be http://www.divillo.com/asyncnotify.html

-------- Original Message --------
Subject: Re: [Twisted-Python] Twisted and db table changes
From: Glyph Lefkowitz <[email protected]>
Date: Thu, October 01, 2009 1:51 pm
To: Twisted general discussion <[email protected]>

On Thu, Oct 1, 2009 at 4:27 PM, Steve <[email protected]> wrote:
If you are using PostgreSQL you can use this technique

http://www.divillo.com


This is very interesting, thanks for sharing!

However, whenever I see a Twisted program calling select()... especially select() in a thread ;-) I wonder if things couldn't be made a bit simpler, responsive, and performant by just asking the Twisted main loop to monitor the file descriptor instead.  It looks like "psycho pig two" has the functionality that you need.

(Are you planning to keep this technique described on the front of your website indefinitely?  If not, a more durable link would be great :).)


_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to