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

From Rails to Node.js + Backbone: The Rewrite o...

From Rails to Node.js + Backbone: The Rewrite of TouchLimit

JSDC.tw 2013 Lightning Talks.

Hsiao-Ting Yu

May 18, 2013
Tweet

More Decks by Hsiao-Ting Yu

Other Decks in Technology

Transcript

  1. PostgreSQL 猛 Node.js 潮 “AJAX” rocks PostgreSQL Redis 砍掉重練 Node.js

    Express Node.js Kue Backbone.js medicalwei -> littlebtc
  2. World of async -> Chain the promises! when(initializeWork({ "id": id,

    ...} )) .then(getPreviousRecord) .then(getBasicData) .then(getMusicData) .then(handleData, handleError) littlebtc
  3. ⽇日本 VPS 1G Mem worker: iconv + JSDOM 佔⽤用太多 Memory

    worker express Server Load 不重,所以還 OK V8 GC 未妥善設定可能是主因