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
なぜハノーバーメッセに行くべきなのか 〜初参加だから語れること〜
tanakaseiya
0
190
Dynamic Workersについて
yusukebe
2
520
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
270
サプライチェーンセキュリティの空白地帯 - 信頼できる”依存性”の未来を考える
rung
PRO
2
530
Strands Agents超入門
kintotechdev
1
150
開発を止めない CI/CD ~CI Visibilityによる継続的最適化~
pensuke628
0
220
類似画像検索モデルの開発ノウハウ
lycorptech_jp
PRO
4
1.1k
脅威をエンジニアリングの糧にして:恐怖を乗り越えた先にあったもの / Turn threats into fuel for engineering: what lay beyond overcoming fear
nrslib
1
360
最低限これだけ押さえれ大丈夫_Claude Enterprise/Team企業展開ガバナンス入門
tkikuchi
1
570
Agentic AI時代における メルカリのAIガバナンスとガードレール実装
naoichihara
17
17k
Javaコミュニティをもっと楽しむための9箇条
takasyou
0
790
20260528_生成AIを専属DSに_Howの次にすべきことを考える
doradora09
PRO
0
270
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1033
470k
Speed Design
sergeychernyshev
33
1.8k
A designer walks into a library…
pauljervisheath
211
24k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
170
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
270
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
130
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
160
How GitHub (no longer) Works
holman
316
150k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
550
Building a Scalable Design System with Sketch
lauravandoore
463
34k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
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/ :)