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
Hsiao-Ting Yu
May 18, 2013
Technology
220
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
93
COSCUP 17 Lightning Talk
littlebtc
0
210
[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
540
Mobile Web Issues: Limitation and Experience
littlebtc
1
310
Other Decks in Technology
See All in Technology
AWS Summit の片隅で、体育座りしながらコミュニティがにぎわう理由を考えた
k_adachi_01
2
330
product engineering with qa
nealle
0
140
AI駆動開発におけるQAエンジニアの役割事例 〜AI駆動開発の現場から〜
kobayashiyorimitsu
0
240
From Prompt Engineering to Loop Engineering
shibuiwilliam
1
320
そのタスクオンスケですか?
poropinai1966
0
110
金融の未来を考える / Thinking About the Future of Finance
ks91
PRO
0
110
Tech-Verse 2026_Keynote
lycorptech_jp
PRO
0
120
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8.3k
“ID沼入口” - 基本とセキュリティから始める、考え続けるためのID管理技術勉強会 告知&イントロ
ritou
0
370
Docker Desktop不要の時代が来る? WSL標準の「wslc」で Linuxコンテナを動かしてみた.
ueponx
0
510
飲食店もAIで。レジ締めやハンディシステムをつくってる話 / Using AI for restaurant management
vtryo
0
230
“詰む”前に仕組みを作れ 〜技術の波に溺れないためのキャッチアップ術〜
takasyou
8
4.9k
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
180
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Navigating Team Friction
lara
192
16k
Balancing Empowerment & Direction
lara
6
1.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
Prompt Engineering for Job Search
mfonobong
0
360
Git: the NoSQL Database
bkeepers
PRO
432
67k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
880
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
160
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
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/ :)