Use Node.js for Mobile Services
summary
Built a Node.js reverse proxy called the secure browser that terminates SSL at a gateway, brokers OAuth2 and NTLM dances, and fetches enterprise pages for mobile clients. Implementation uses Happy on Node and load tests with Flood. Performance tops ~500 requests/sec on a large instance but sees single-request latencies up to 30s and 17s at 100 req/s on real iOS networks, so the code works but infrastructure and VM/network constraints become the real bottlenecks.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 0:33Why Nodejs
- 1:30Why Node
- 2:10Mainstream
- 2:36Nodejs synchronicity
- 4:23Nodejs approval
- 6:01Happy vs Express
- 7:40Grand Evil Plan
- 9:05Reverse Proxy
- 11:00Flow
- 11:11Gateway Access
- 12:43Pulse
- 12:55NTLM Authentication
- 14:43Request Time
- 15:05Latency
- 16:22Environment
- 17:02Results
- 20:00Banding
- 23:55Auto Scalability
related talks
31mUsing NodeJS to Build Micro Services Architecture
27mProxygen Mobile: Cross-platform Mobile Networking Challenges
18mMobile Application Platform
38mBuilding Universal Apps
22mObservable Node.js Applications
26mPreparing Your Node JS Application For Scale
31mNode.js that's hugely reliable, fast, and scalable
03h 16mPUSHing web app performance with HTTP/2
