Re: [Twisted-Python] Twisted and db table changes
On Thu, Oct 1, 2009 at 5:49 PM, Steve <steve@divillo.com> wrote:
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.
In that case, welcome! Probably the best route for you to take suggestions on making a ... shall we say, twistier, async notify mechanism, would be for you to drop by the #twisted IRC channel on freenode.net. Off the top of my head I don't think I know enough about Postgres to be more specific.
I will probably change the main site. A more durable link would be http://www.divillo.com/asyncnotify.html
Thanks.
On Thu, 2009-10-01 at 17:53 -0400, Glyph Lefkowitz wrote:
On Thu, Oct 1, 2009 at 5:49 PM, Steve <steve@divillo.com> wrote: 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.
In that case, welcome!
So I was in this bookstore last weekend looking at the Python section for nothing in particular. This O'reilly book called Twisted jumped out at me because of the name so I started leafing through it. "Cool stuff" I thought to myself. I look at the publication date and see that it is pretty old. I ask the store clerk to check and see if there is a newer edition. There wasn't so I went ahead and bought the book. I thought your name was familiar for some reason! After picking up the book again tonight I realized why :-) Excellent work and probably the best name for a communications framework. I do have a question about the book. Is there anything obsolete about it? Anything I should watch out for? Thanks!
I'm building a website with twisted and pylons which I hope to release in December. I cant explain what the idea is, but I like python and the twisted site seems excellent. Smart guys, hopefully I can reciprocate one day. Cheers, Garyc --- On Thu, 10/1/09, Steve <steve@divillo.com> wrote:
From: Steve <steve@divillo.com> Subject: Re: [Twisted-Python] Twisted and db table changes To: "Twisted general discussion" <twisted-python@twistedmatrix.com> Date: Thursday, October 1, 2009, 4:49 PM 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 <glyph@twistedmatrix.com>
Date: Thu, October 01, 2009 1:51 pm
To: Twisted general discussion <twisted-python@twistedmatrix.com>
On Thu, Oct 1, 2009 at 4:27 PM, Steve <steve@divillo.com> wrote: If you are using PostgreSQL you can use this technique
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
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-----Inline Attachment Follows-----
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
participants (3)
-
gary clark
-
Glyph Lefkowitz
-
Steve