Upgrade to Pro — share decks privately, control downloads, hide ads and more …

企业级Node.js开发

 企业级Node.js开发

于QCon2013北京分享。关于在企业中进行Node实践中的一点经验。

Avatar for Jackson Tian

Jackson Tian

June 30, 2013
Tweet

More Decks by Jackson Tian

Other Decks in Programming

Transcript

  1. Why Node? IO开销 花费CPU时钟周期 CPU Cache L1 3 CPU Cache

    L2 14 RAM 250 Disk 41000000 Net 240000000 7 13年4月22⽇日星期⼀一
  2. 包管理 { "name": "wechat", "version": "0.4.1", "description": "微信公共平台⾃自动回复接⼝口服务", "main": "index.js",

    "scripts": { "test": "make test" }, "dependencies": { "xml2js": "0.2.6", "ejs": ">=0.8.3", "bufferhelper": ">=0.2.0" }, "devDependencies": { "supertest": "*", "mocha": "*", "should": "*", "connect": "*", "jscover": "*" }, "author": "Jackson Tian", "license": "MIT" } 10 13年4月22⽇日星期⼀一
  3. 异构共存 Tair HSF Node HTTP RESTful RPC OTS TFS CDN

    etc. 18 13年4月22⽇日星期⼀一
  4. 异构共存 Tair HSF Node HTTP RESTful RPC MySQL协议 OTS TFS

    CDN etc. 18 13年4月22⽇日星期⼀一
  5. 异构共存 Tair HSF Node HTTP RESTful RPC MySQL协议 etc. OTS

    TFS CDN etc. 18 13年4月22⽇日星期⼀一
  6. 异构共存 Tair HSF Node HTTP RESTful RPC MySQL协议 etc. OTS

    TFS CDN etc. 18 13年4月22⽇日星期⼀一
  7. 资料链接 • https://npmjs.org/ • http://wiki.commonjs.org/wiki/CommonJS • http://visionmedia.github.io/mocha/ • https://github.com/visionmedia/should.js •

    https://travis-ci.org/ • https://david-dm.org/ • https://github.com/isaacs/npmjs.org • http://couchdb.apache.org/ • http://www.erlang.org/ • http://blog.nodejs.org/2013/03/11/node-v0-10-0-stable/ 21 13年4月22⽇日星期⼀一