News for hackers. Stuff that matters.
Re:The Technology Behind Convore by ericflo on Wednesday February 16, 2011 @04:14PM (#2228334)
That's awesome, thanks for the offer, I'll definitely take you up on it and ping you if we run into problems scaling up that live endpoint using Python.

As a side-note, this is why I love the software engineering community: everyone's always so willing to share knowledge and help each other out. Let's hope we never lose that as a community!

Re:The Technology Behind Convore by axod on Wednesday February 16, 2011 @04:59PM (#2228510)
FWIW, I'd recommend Java NIO, it's served me really well on Mibbit, so feel free to ping me if you decide to go that route.

Whatever language you choose though there's plenty of interesting scaling problems to work on ;)

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?