On Aug 20, 2006, at 1:02 PM, Piers Cawley wrote: > The catch is, IPSocket.getaddress, which is what we use for DNS > lookups, appears to be be a blocking call, which with the nature of > Ruby threads, means it'll *still* hold up processing during the > lookup. > > Thoughts?
What about using BackgrounDRb to do the spam processing asynchronously? Toss the comments to be processed into a queue in the DB, fire up a BDRb worker, and walk away. -- Josh Susser http://blog.hasmanythrough.com _______________________________________________ Typo-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/typo-list
