<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Bret Taylor's blog - Latest Comments in The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://brettaylor.disqus.com/</link><description></description><atom:link href="https://brettaylor.disqus.com/the_technology_behind_tornado_friendfeeds_web_server_bret_taylors_blog_19/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 11 Jul 2010 16:06:38 -0000</lastBuildDate><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-61620993</link><description>&lt;p&gt;I came to this page because I think a Friendfeed style "chat system" would be a good communication system for Linden Lab to provide for Second Life users, much better than the Avatars United site that Linden Lab bought. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Suezanne</dc:creator><pubDate>Sun, 11 Jul 2010 16:06:38 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-21194467</link><description>&lt;p&gt;This code shown above ...&lt;/p&gt;&lt;p&gt;class LoginHandler(tornado.web.RequestHandler):&lt;br&gt;    def post(self):&lt;br&gt;        # Process login username and password&lt;br&gt;        self.set_secure_cookie("user_id", user["id"])&lt;br&gt;        self.redirect("/home")&lt;br&gt;throws the following exception ...&lt;br&gt;Exception: Cannot redirect after headers have been written&lt;/p&gt;&lt;p&gt;Am I missing something ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ken</dc:creator><pubDate>Wed, 28 Oct 2009 13:54:41 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-17882663</link><description>&lt;p&gt;Running said demo gives 500 error.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">stanley</dc:creator><pubDate>Wed, 30 Sep 2009 15:19:42 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-17747538</link><description>&lt;p&gt;Demo server busted?  &lt;a href="http://chan.friendfeed.com" rel="nofollow noopener" target="_blank" title="http://chan.friendfeed.com"&gt;http://chan.friendfeed.com&lt;/a&gt;:8888/&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jwieland</dc:creator><pubDate>Mon, 28 Sep 2009 19:49:46 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-17394219</link><description>&lt;p&gt;&amp;lt;3 it&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mager</dc:creator><pubDate>Fri, 25 Sep 2009 15:46:55 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16805387</link><description>&lt;p&gt;Selecting a suitable development environment depends a lot on the nature of the site and the project requirements. One needs to carefully thing about the technologies to be deployed as you are likely to live with it for a long time.&lt;/p&gt;&lt;p&gt;So I would like to recommend one of my client who provides solutions in both PHP and .Net technologies.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.redalkemi.com" rel="nofollow noopener" target="_blank" title="http://www.redalkemi.com"&gt;http://www.redalkemi.com&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">elenamorgan</dc:creator><pubDate>Thu, 17 Sep 2009 07:07:00 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16716704</link><description>&lt;p&gt;I wanted to thank you guys. I am going to be building a web app for which I was dreading to use PHP long-polling. I looked at Twisted.web and other Java alternatives but they all seemed too complicated to use (I know PHP and Ruby, not Java or Python).&lt;/p&gt;&lt;p&gt;After exploring Tornado and trying it out, I am growing incredibly fond of it, especially it's ease of use (and Python is not looking to difficult from here, lots of similarities to Ruby).&lt;/p&gt;&lt;p&gt;Thank you!&lt;/p&gt;&lt;p&gt;Eiso&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eiso Kant</dc:creator><pubDate>Wed, 16 Sep 2009 11:37:03 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16712047</link><description>&lt;p&gt;Everywhere open source and open web. What Microsoft will do?&lt;br&gt;If MS where the biggest search engine then he may have charge us for searching or shown a popup ads in between .&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Satya Prakash</dc:creator><pubDate>Wed, 16 Sep 2009 10:06:01 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16703619</link><description>&lt;p&gt;Very interesting Bret, and kudos to you and your team for opening up this code.&lt;/p&gt;&lt;p&gt;When you say CherryPy was running "standalone" do you mean it was tested running its built-in web server? I'm not being defensive, critical or sceptical, merely interested :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roger Lancefield</dc:creator><pubDate>Wed, 16 Sep 2009 05:46:56 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16642632</link><description>&lt;p&gt;I will try to use this as soon as possiable. It looks great.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ceyhun</dc:creator><pubDate>Tue, 15 Sep 2009 15:37:27 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16641477</link><description>&lt;p&gt;It might be nice to port some of the authentication bits to appengine/webapp or appengine/django.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mckoss</dc:creator><pubDate>Tue, 15 Sep 2009 15:28:51 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16638178</link><description>&lt;p&gt;Cool, can't wait to check this out!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Wright</dc:creator><pubDate>Tue, 15 Sep 2009 14:56:32 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16538424</link><description>&lt;p&gt;Stop being such twisted fanboys people, be thankful for the newly released code and project.  Working with an existing project is academically admirable but quite often not practical.  If that were all anyone ever did, nothing new and improved would ever be created.  Competition is good.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gpshead</dc:creator><pubDate>Sun, 13 Sep 2009 11:46:25 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16535243</link><description>&lt;p&gt;I have to agree with Dave. It should plugin nicely.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.bagoscomp.com" rel="nofollow noopener" target="_blank" title="http://www.bagoscomp.com"&gt;http://www.bagoscomp.com&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ajoyshop</dc:creator><pubDate>Sun, 13 Sep 2009 09:03:40 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16525532</link><description>&lt;p&gt;I'm saying it with utmost respect : what ?&lt;/p&gt;&lt;p&gt;I really like this project, but Django and this aren't really comparable and suit totally different projects. Are you using Django for something overly simple that wouldn't require most of it's functionality and are getting stuck on something ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arek</dc:creator><pubDate>Sat, 12 Sep 2009 22:00:28 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16516011</link><description>&lt;p&gt;NGINX: Also great for linux botnets: &lt;a href="http://linux.slashdot.org/story/09/09/12/1413246/First-Botnet-of-Linux-Web-Servers-Discovered" rel="nofollow noopener" target="_blank" title="http://linux.slashdot.org/story/09/09/12/1413246/First-Botnet-of-Linux-Web-Servers-Discovered"&gt;http://linux.slashdot.org/s...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bill</dc:creator><pubDate>Sat, 12 Sep 2009 18:27:24 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16512814</link><description>&lt;p&gt;I blogged a bunch of comments over at &lt;a href="http://blogs.fluidinfo.com/terry/2009/09/12/facebook-release-tornado-and-its-not-based-on-twisted/" rel="nofollow noopener" target="_blank" title="http://blogs.fluidinfo.com/terry/2009/09/12/facebook-release-tornado-and-its-not-based-on-twisted/"&gt;http://blogs.fluidinfo.com/...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I don't get it. The more I think about it, the more I dislike it. What a colossal wasted opportunity. It would have been so much less effort to have thrown your weight behind using Twisted core and helping twisted.web, and you would have ended up with a better result to boot. It's a bit late to be all community friendly. I don't blame you for doing things your own way, it's just the scale of the missed chance that really gets to me. Why didn't you bother to show up in the Twisted community, ask a few questions, ask for help, suggest some directions, air your grievances with Twisted.web etc? I did all that, and the reaction from the Twisted folk was always superb. No, you had to go off and try to re-invent the whole friggin thing. Jeez.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">terrycojones</dc:creator><pubDate>Sat, 12 Sep 2009 17:37:33 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16506643</link><description>&lt;p&gt;I've used the twisted enterprise stuff in some apps for non-blocking RDBMS action.  twitterspy supports both the twisted async interface to sqlite and a couchdb interface (I use the latter).  twitterspy as I run it == async couchdb + async memcached + async http streaming + async xmpp interface (and a bit more).&lt;/p&gt;&lt;p&gt;I also saw that someone filed an issue against tornado about running async system commands and displaying their output.  If you go about three minutes into this video: &lt;a href="http://www.vimeo.com/5998733" rel="nofollow noopener" target="_blank" title="http://www.vimeo.com/5998733"&gt;http://www.vimeo.com/5998733&lt;/a&gt; you'll see Matt Ingenthron demonstrating a twisted-based web server I wrote that runs system commands and streams replicates of the output (processed through a python filter) to whomever happens to be looking.&lt;/p&gt;&lt;p&gt;This is why Tornado is both interesting and mildly frustrating.  I've got a handful of little frameworks like the above that are doing useful realtime web stuff that could all use an easy to use web framework that doesn't block.  Hopefully by porting tornado to twisted, I can get some more web attention directed at these projects.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dustin</dc:creator><pubDate>Sat, 12 Sep 2009 14:37:22 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16500492</link><description>&lt;p&gt;The asynchronous features are not available in Google AppEngine, but a subset of Tornado's features do work in AppEngine. See &lt;a href="http://www.tornadoweb.org/documentation#wsgi-and-google-appengine" rel="nofollow noopener" target="_blank" title="http://www.tornadoweb.org/documentation#wsgi-and-google-appengine"&gt;http://www.tornadoweb.org/d...&lt;/a&gt; and the included "appengine" example for a full-featured App Engine example app.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bret Taylor</dc:creator><pubDate>Sat, 12 Sep 2009 12:07:10 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16497872</link><description>&lt;p&gt;Do you think we will be able to use this on Google Appengine?&lt;/p&gt;&lt;p&gt;If so do you think we will be able to maintain the connections? &lt;a href="http://groups.google.com/group/google-appengine/browse_thread/thread/8cee583b7fb981cc/043eac191d0284c0?lnk=gst&amp;amp;q=ram#043eac191d0284c0" rel="nofollow noopener" target="_blank" title="http://groups.google.com/group/google-appengine/browse_thread/thread/8cee583b7fb981cc/043eac191d0284c0?lnk=gst&amp;amp;q=ram#043eac191d0284c0"&gt;http://groups.google.com/gr...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rvijapurapu</dc:creator><pubDate>Sat, 12 Sep 2009 10:46:55 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16490191</link><description>&lt;p&gt;dustin, wow. I see that twisted has a "non-blocking interface to the standardized DB-API 2.0 API" &lt;a href="http://twistedmatrix.com/projects/core/documentation/howto/rdbms.html" rel="nofollow noopener" target="_blank" title="http://twistedmatrix.com/projects/core/documentation/howto/rdbms.html"&gt;http://twistedmatrix.com/pr...&lt;/a&gt; -- is that a good way to back tornado with a rdbms?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">brianjesse</dc:creator><pubDate>Sat, 12 Sep 2009 06:18:37 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16486127</link><description>&lt;p&gt;I've done a first pass implementation of tornado's web framework on top of twisted:&lt;/p&gt;&lt;p&gt;&lt;a href="http://github.com/dustin/tornado" rel="nofollow noopener" target="_blank" title="http://github.com/dustin/tornado"&gt;http://github.com/dustin/to...&lt;/a&gt;&lt;/p&gt;&lt;p&gt; 10 files changed, 92 insertions(+), 1389 deletions(-)&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dustin</dc:creator><pubDate>Sat, 12 Sep 2009 01:42:41 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16430832</link><description>&lt;p&gt;I have much to glean from these wonderful open source shares. Thanks again Bret and the super team formally known as friendfeed :D&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Essel</dc:creator><pubDate>Fri, 11 Sep 2009 13:29:09 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16426722</link><description>&lt;p&gt;Nginx wins yet again.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">darkimmortal</dc:creator><pubDate>Fri, 11 Sep 2009 12:18:49 -0000</pubDate></item><item><title>Re: The technology behind Tornado, FriendFeed's web server - Bret Taylor's blog</title><link>http://bret.appspot.com/entry/tornado-web-server#comment-16425280</link><description>&lt;p&gt;I posted a performance test of Tornado and Twisted.web here:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/" rel="nofollow noopener" target="_blank" title="http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/"&gt;http://www.apparatusproject...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">roder</dc:creator><pubDate>Fri, 11 Sep 2009 11:49:16 -0000</pubDate></item></channel></rss>