Using Node.js to improve the performance of Mobile apps and Mobile web
1. Using Node.js to improve
the performance of
Mobile apps and Mobile web
Tom Hughes-Croucher
Jetpacks for Dinosaurs, LLC
tom@jetpacksfordinosaurs.com
@sh1mmer
2. Scalable Server-Side Code with JavaScript
Who is Tom?
• Wrote W3C Standards
•
•
10+ years in the web industry
Worked on projects for: Tesco,
NASA, Walmart, MySpace, etc
Node Up and Running
• ~5 years at Yahoo! including .com
Tom Hughes-Croucher
• Node team at Joyent
@sh1mmer
3. • You probably shouldn't let Twitter name
your company
• Clients include
• Walmart
• MySpace
• Various Fortune 500 companies
• Multiple stealth startups
@sh1mmer
4. This is a talk about why
cell phones suck.
@sh1mmer
36. "They went from running 15 servers with 15
instances (virtual servers) on each physical machine,
to just four instances that can handle double the
traffic."
http://venturebeat.com/2011/08/16/linkedin-node/
@sh1mmer
50. Node.js allows you to tune
rendering between client and
server based on the network.
@sh1mmer
51. HTML JSON
More bandwidth Less bandwidth
Less client processing More client processing
Battery friendly Cheaper for you bandwidth/server
Cheaper for them bandwidth
@sh1mmer
52. Summary
• Node.js allows you to:
• Manage resources with unreliable mobile data connections
• Choose where to apply rendering
• Pick the right rendering solution for the right scenario
@sh1mmer