Node.js与Tornado,两个无阻塞的WebServer

Node.js 与Tornado,两个无阻塞实时WebServer,分别属于JavaScript和Python的世界。

 

>> Node.js

 Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

http://nodejs.org/

https://github.com/joyent/node

 

Node.js WebServer

http://expressjs.com

https://github.com/visionmedia/express

 

V8 Profiler(node bindings for the v8 profiler)

https://github.com/dannycoates/v8-profiler

Node inspector(Web Inspector based nodeJS debugger)

https://github.com/dannycoates/node-inspector

 

Instagram的实时图片Demo:Node.js, Redis 加 Web Sockets

Instagram公布其实时图片API的演示网站(http://demo.instagram.com/)的源码,这个网站是用Node.js、RedisWeb Sockets,主要使用了Redis的pub/sub机制来进行消息推送。

官方源码:   https://github.com/Instagram/Realtime-Demo

好事者的更新:  https://github.com/asalant/Realtime-Demo

 

Materials:

使用 Node.js 作为完整的云环境开发堆栈

http://www.ibm.com/developerworks/cn/cloud/library/cl-nodejscloud/index.html

Reds:一个Redis加Node.js的全文搜索引擎

http://blog.nosqlfan.com/html/2676.html

 

>>Tornado

Tornado是用Python写的一个极轻量级、高可伸缩性和非阻塞IO的实时网络服务器,它支持上万的不间断连接,因此也支持以长轮询(long-polling)方式发布实时数据,是FriendFeed的核心。

FriendFeed由谷歌前雇员和实时网络社区的先驱人物共同创立.  Facebook在2009年8月收购了该服务。Tornado大 部分由布莱特·泰勒(Bret Taylor)所开发,随后由Thing Labs的本·达纳尔(Ben Darnell)接手并正式推出首个版本。泰勒现在是Facebook的首席技术官。

http://www.tornadoweb.org/

https://github.com/mrjoes/tornadio

 

posted on 2012-05-09 09:49  飘行天下  阅读(1701)  评论(0编辑  收藏  举报

导航