I have a blog aggregator (http://saskblogs.catprint.ca/ (and if any of
you have blogs that want to get put on, let me know)) that I want to
make threaded. The primary area for threading would be d/loading the
syndication feeds. Currently it's all serial and takes a while,
especially if there's a slow connection to a blog.
The program pulls the whole feed (kind of has to) but just uses the most
recent post. I compare the timestamp (unix epoch) to the last posts
timestamp in the postgres db for that blog.
My question is: if I thread _just_ the I/O collecting the feeds, will
that burn my database connections when I insert a new post, or will the
threads deal with it nicely? Or is this even a relevant question w/out code?
Cheers,
lance
-- Lance Levsen, Catprint Computing Tel: (306) 493-2249 Cell: (306) 230-8783 Blog: http://www.catprint.ca/blog/ SaskBlogs: http://saskblogs.catprint.ca/
This archive was generated by hypermail 2.1.8 : Fri Sep 08 2006 - 23:26:38 CST