News for hackers. Stuff that matters.
Re:The Technology Behind Convore by SriniK on Wednesday February 16, 2011 @04:32PM (#2228401)
Thanks for sharing. Did you look at Tornado? I feel it is lightweight and simple.
Re:The Technology Behind Convore by ericflo on Wednesday February 16, 2011 @04:38PM (#2228429)
Yep, but we liked Eventlet better because of the simpler programming model and better support for things like psycopg2 (our database driver). So far it's worked out great--it's held up really well under our current amount of load.

That said, Tornado is a really neat piece of software, and it worked very well for FriendFeed and others. It really just came down to personal preference.

Re:The Technology Behind Convore by BarkMore on Thursday February 17, 2011 @02:34AM (#2230210)
In what way does Tornado not support psycopg2? Because the Tornado code includes some convenience functions for working with an unmodified MySQLdb driver, I assume that FriendFeed also used the MySQLdb driver with no modifications. If the MySQLdb driver works with Tornado, shouldn't psycopg2 also work?
Re:The Technology Behind Convore by ericflo on Thursday February 17, 2011 @02:54AM (#2230241)
Not asynchronously.
Re:The Technology Behind Convore by BarkMore on Thursday February 17, 2011 @10:50AM (#2231314)
By using an unmodified MySQLdb driver, FriendFeed did not make asynchronous calls to the database. I searched around and found this comment w/ response from Paul Buchheit about the issue: http://news.ycombinator.com/item?id=1479301

Do you need to make async calls to the database because your queries are slow?