Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
From Rails to Node.js + Backbone: The Rewrite o...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Hsiao-Ting Yu
May 18, 2013
Technology
220
2
Share
From Rails to Node.js + Backbone: The Rewrite of TouchLimit
JSDC.tw 2013 Lightning Talks.
Hsiao-Ting Yu
May 18, 2013
More Decks by Hsiao-Ting Yu
See All by Hsiao-Ting Yu
有人用了更頭大: OpenStreetMap 的社群營運挑戰
littlebtc
0
89
COSCUP 17 Lightning Talk
littlebtc
0
200
[COSCUP 2014] Take Back the Map to People: When OpenStreetMap Meets Taiwan Social Issues
littlebtc
0
240
[SOTM.TW 2013] The mapping status of bus lines in Taiwan
littlebtc
0
250
(Mobile) App and Open Source: Kamigami Client on Various Platforms
littlebtc
0
530
Mobile Web Issues: Limitation and Experience
littlebtc
1
310
Other Decks in Technology
See All in Technology
論文紹介:Pixal3D (SIGGRAPH 2026)
tenten0727
0
720
NFLコンペ2026 解法
lycorptech_jp
PRO
0
100
ECSのTerraformモジュールにコントリビュートした話
harukasakihara
1
340
「使われるデータ基盤」を目指してデータアナリストとワークショップをやった話
jackojacko_
2
850
A Harness for Behaviour: how to get AI to generate code that does what we intend, or "TDD in the age of AI"
xpmatteo
0
410
Agentic AI時代における メルカリのAIガバナンスとガードレール実装
naoichihara
15
14k
組織の中で自分を経営する技術
shoota
0
130
Anthropic AIネイティブ・スタートアップ構築のプレイブック を理解する
nagatsu
0
170
【ハノーバーメッセ振り返りイベントat名古屋】データは集約からAI起点の収集に ~組織内・組織間でのデータ連携~
tanakaseiya
0
110
はじめてのAI-DLC
yoshidashingo
2
520
AIAgentと取り組むKaggle
508shuto
2
550
JavaScript実装の自作プログラミング言語をTypeScript実装に移行した話
keisukeikeda
1
150
Featured
See All Featured
The browser strikes back
jonoalderson
0
1.1k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
190
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
360
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Mind Mapping
helmedeiros
PRO
1
200
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
200
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
160
Writing Fast Ruby
sferik
630
63k
A Tale of Four Properties
chriscoyier
163
24k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
140
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
Fireside Chat
paigeccino
42
3.9k
Transcript
從 Rails 到 Node + Backbone: TouchLimit 砍掉重練之路 Littlebtc /
笨笨的⼩小B
http://www.briareus.tw/ -> My Job
http://moztw.org/ -> I contributed to
http://zh-tw.twitch.tv/kevin51202 Jubeat 台灣全國⼤大會決賽
TouchLimit 紀錄、分析成績的⼯工具
None
2011: Rails + Resque MongoDB + Redis
遊戲⼀一年改版⼀一次
砍掉重練 MongoDB 不盡理想 Rails 有點肥 Rails Web MongoDB Redis Resque
worker
PostgreSQL 猛 Node.js 潮 “AJAX” rocks PostgreSQL Redis 砍掉重練 Node.js
Express Node.js Kue Backbone.js medicalwei -> littlebtc
分開開發 做好合起來
克服萬難
World of async -> Chain the promises! when(initializeWork({ "id": id,
...} )) .then(getPreviousRecord) .then(getBasicData) .then(getMusicData) .then(handleData, handleError) littlebtc
PostgreSQL Array -> pg 9.2 有 JSON,硬幹 littlebtc
iconv -> JSDOM 遇到 SHIFT-JIS 和 CP932 不⼀一樣的問題 爛了⼀一個星期才發現 orz
littlebtc
樂曲會不定時增減 需要對應⽅方式 littlebtc
⽇日本 VPS 1G Mem worker: iconv + JSDOM 佔⽤用太多 Memory
worker express Server Load 不重,所以還 OK V8 GC 未妥善設定可能是主因
Backbone 很強⼤大 但也很難寫 medicalwei
RWD: 聽起來很美好 做起來累死你 medicalwei
Android 和 iOS 瀏覽器有超多 Bug medicalwei
None
None
http://touchlim.it/ :)