[Webinar] Building a Product Security Incident Response Team: Learnings from the Hivemind
Android: Building for India. Gearing for 100 Million Users - Learnings from Building for Hike
-
Upload
paresh-goel -
Category
Mobile
-
view
400 -
download
0
Transcript of Android: Building for India. Gearing for 100 Million Users - Learnings from Building for Hike
3
Days
WHERE WE ARE
0.
12.5
25.
37.5
50.
62.5
0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800 850 900 950 1000 1050 1100 1150 1200 1250 1300 1350 1400 1450 1500
Hike Twitter Facebook
4
Days
0.
12.5
25.
37.5
50.
62.5
0 150 300 450 600 750 900 1050 1200 1350 1500Hike Twitter Facebook
WHERE WE ARE
Client-Server Protocol
• Has to be persistent.
• Takes care of flaky network condition.
• Consumes lesser bandwidth.
MQTT (Message Queue
Telemetry Transport)
• Network protocol for broadcasting and
listening for information over network.
• Lightweight: Header to Message ratio is less.
• Publish / Subscribe mechanism.
• Support for QoS Levels.
MQTT Message Format
• A MQTT topology has a MQTT server and a
MQTT client.
• The protocol works by exchanging a series of
MQTT Control Packets.
Client 1 Server Client 2
Publish with Sticker Id
Publish with Sticker Id
use local file path
Use Unique Id
Client 1 Server Client 2
Publish with Sticker Id
Publish with Sticker Id
Request File for Sticker Id
File for Sticker IdAdd Entry
In India, users may be offline for long periods of
time.
We send pending messages in one bulk packet.
This reduces headers and corresponding Ack
packets.
Bulk Packet
Summary
• Network Optimisations should be top priority
• Choose bandwidth-optimised network
protocol.
• File Transfer - MD5, resolution based.
• Feature decisions - optimise for network.