Monthly Archives: January 2010

Brizzly and Tornado Web Server

For those of you who want to get a little insight into how we make Brizzly run, we’ve decided to start sharing occasional technical posts like this one, written by star engineer Ben Darnell. Enjoy!

Tornado Web ServerHere at Thing Labs, we’re always looking for ways to improve the performance of Brizzly. One important technique for real-time communication in web apps is “long polling,” where a web server keeps a connection open with a client until it has results to send back. Unfortunately, this technique came around after most web frameworks were designed so they’re not built to handle gobs of simultaneous connections efficiently. Because of this, we were excited by the release of the Tornado web framework. Tornado was originally developed at Friendfeed and released as open source by Facebook, and was designed to support long polling efficiently. Since December, Brizzly has been running on Tornado, with a growing number of features taking advantage of Tornado’s long polling capabilities.

Brizzly started out using the Django framework, and most of our code is in fact still based on Django. We have been converting pieces of the site one at a time based on where Tornado can add the most value, and we expect the two frameworks to coexist in Brizzly for some time.

Along the way, we have made a number of improvements to Tornado, many of which make it easier to migrate from one framework to Tornado or mix two frameworks in one app. These changes are now available in the Tornado git repository and will be available in the next release. For more information, read this post by Bret Taylor, Facebook’s director of products.

MLK

Dr. Martin Luther King, Jr. at a 1964 press conference


Happy Martin Luther King, Jr. Day. We’re working today, but we couldn’t forget King’s legacy if we tried. Do yourself a favor, and if you ever find yourself in Memphis, visit the National Civil Rights Museum at the Lorraine Motel, the site of King’s 1968 assassination. It’s simultaneously sad and uplifting, and will hopefully leave you inspired.

(If you can’t make the trip, at least listen to or read King’s speeches and letters online.)

Crunchies and Shorties

While we didn’t take home awards, we are honored to have been named as a finalist in two categories of the 2009 Crunchies, co-hosted by tech news sites GigaOm, VentureBeat and TechCrunch. We were in good company in both the “Best Social App” and “Best Design” categories, and were happy to see our competition be recognized Friday night.

Award season isn’t over, though. If you want to stroke our collective ego, you can nominate us for a Shorty award (if you’re into that kind of thing). To vote, visit http://shortyawards.com/brizzly (and be sure to read the Shorty interview with Brizzly) or simply tweet “I nominate @brizzly for a Shorty Award in #apps because…” and explain why. No pressure, but we appreciate your nominations!