Download - PubNub Overview (IoT)
Introduction to PubNub
Secure Global Data Stream Network
Date / Footer Message
What is PubNub?
PubNub provides developers aglobally-available dialtone for
streaming data in realtimereliably and securely
to/from their apps and devices
What is PubNub used for?
• IoT, Mobile, Web apps• Realtime communication• Modern, serverless apps• Application integration• Networking “backbone”
How PubNub works
• Global scalable infrastructure (hidden)• Simple API, many SDKs (70+)• Standard Protocols (TCP/IP)• Stream-Oriented Programming (blocks)
What PubNub is not
• Not a platform (we do not dictate how developers build their apps & products)
• Not physical connectivity (data streams go over ethernet, WiFi, 3G/4G, etc.)
P u b N u b C onfidential © 2015
P a g e 6
a Global Data Stream Network providingSecure
High-Speed Reliable
two-way communicationfor every device in the world
PubNub
PubNub Data S tream Network powers 2,000+ customers’ software for realtime sync and secure device control around the globe
Telecom
Social/Entertainment
Online Collaboration
Financial Services
Smart Home
Connected Vehicles
Audience Participation
P a g e 7
Delivered at Global ScaleDelivered at Global Scale
330+ Million
Unique Monthly Devices
1.8Tri l l ionMessages per
Month
OFFERING
99.999%Uptime SLAs
OVER
2,000Customers
DELIVERING
1/4 Second
Worldwide Latency
USING
15Global Data Centers
HTTP/Content Delivery Networks
Caching QoS
Security Redundancy VPN
Protocols
HTTP HTTPS SPDY
Services
Internet Backbone Networks
TCP UDP IP
Services
Peering Routing POPs
Protocols
PubNub Pub/Sub Data Stream Caching Syndication
Presence Analytics Gateways
Protocols
WebSockets COMET/BOSH HTTP 2.0
MQTT
A Network for Data-in-Motion
Data Stream Networks
P a g e 9
Services
Power realtime connected cars• Enable realtime messaging and response between dispatch and vehicles, while empowering customers with ability to track vehicles using realtime map. Customers include:
• Easy Taxi• GetTaxi• Lyft• Sidecar
Value to Partners• Realtime Reliability -- Easy to deploy system for reliable and secure realtime communication layer between dispatch, drivers, and passengers
• Reduced Cost & Complexity -- Eliminated the cost and complexity of buying, engineering and maintaining realtime infrastructure for IoT products/ services. Accelerated business opportunity, with less risk and instant scalability.
Case S tudy: GetTaxi (Transportation / Dispatch)
P a g e 10
Business Context PubNub Solution
• Before PubNub, smart home products could only be controlled while at home.
• Out-of-box setup for consumers required at team of 28 dedicated support agents
• Ensuring network security of smarthome system was paramount
• Smarthome system now works seamlessly from every Internet connection (home, work, cellular, etc.)
• Out-of-box experience is seamless: device auto-provisions via PubNub
• Reduced hacking risk with end-to- end security
Case S tudy:
P u b N u b C onfidential © 2015
11P a g e
Case S tudy: Autodesk (Business Collaboration)•Sync’d 3-D model rotation to groups of users simultaneously
•Powers 1:1 and group chat within every Autodesk application•Server-side updates are pushed to apps
in realtime
P u b N u b C onfidential © 2015
12P a g e
Other Use Cases
PubNub maintains always-on connections 7/24 to every iPhone and Android use to ensure < 0.25 second latencies in making phones ring, establishing calls, etc.
Realtime soccer updates to fans, and in-stadium audience participation apps (realtime voting, trivia, etc.)
PubNub powers a realtime socialTV application allowing users to vote, chat, and play with other audience members in realtime, with results displayed on live broadcast TV.
TD Ameritrade is building an investor collaboration platform, using PubNub as the core communication layer to sync users across many different collaboration functions.
P u b N u b C onfidential © 2015
13P a g e
Demand for realtime connectivity is skyrocketing
From social apps to the Internet of Things, every software verticalis moving to a realtime model of interaction and processing.A Data Stream Network accelerates time-to-market and ensures that realtime apps scale globally and cost-effectively with 99.999% SLA and 14 replicated global points-of-presence.
Security vulnerabilities are the biggest risk for IoT
Deploying data stream solutions is a massive challenge
Embedded devices on the Internet are vectors for attack.PubNub solves the quandary of realtime device control while simultaneously making the device invisible to hackers.
“PubNub solves the scale problem for us.”
Suzanne Kaufman
“Instant communication is critical…PubNub [solves] reliable remote access.”
Carlos Anchia
Current solutions for data streams and realtime connectivity are proprietary, home grown, and involve huge investment
PubNub solves the 1000s of connectivity issues caused by firewalls, cell towers, and spotty connectivity and supports over 70 SDKS for mobile, web, embedded, and server environments.
“PubNub allows … a very professional level of performance around the world.”
Liam Don
Why Does A Data S tream Network Matter?
P u b N u b C onfidential © 2015
P a g e 14
Development25% of the pain
Deployment& Scaling
75% of the pain
}Dozens of open
source & commercial
frameworks and libraries, only
solving pieces of the problem
}Ongoing
challenges, data center costs,
existing infrastructure
& tools not
compatible
Two Challenges of Data S treams
Device Support
Network Protocols Real-time Features
Network topology Firewalls
kernel configs
Compatibility
P u b N u b C onfidential © 2015
P a g e 15
Load testing
Security Monitoring
Scaling redundancy
load balancing replication
failover
PubNub Data Stream Network
Development25% of the pain
Deployment& Scaling
Device Support
Network Protocols Real-time Features
75% of the pain
Network topology FirewallsKernel configs
Compatibility
Access control Load
testing Monitoring
Scaling Redundancy
Load balancing
Replication Failover
P a g e 16
Two Challenges of Data S treams
P u b N u b C onfidential © 2015
markets to software developers
and
sells to product owners/architects
PubNub
P a g e 17
The Key Building Blocks for Data S treams
2010 - 2011 2012 2013 2014
Pub/Sub Data Streams
Storage & Playback
Presence Access Control
Stream ControllerAnalytics
Stream S yndication
Mobile Push Gateway
P a g e 18
Enterprise-Grade Security
Encryption Access Control Attack PreventionLegislative
Cross-platform AES & TLS
Message envelope meta- data for smart routing &
analytics
Fine-grain token-based access control
Auto-expiration of tokens& manual revocation
No inbound open ports removes attack vector
Can route to different data centers to thwart regional
attacks.
Safe Harbor Compliant
Safe for HIPAA and PII
Intelligent Data Routing
Access Control Attack Prevention LegislativeEncryption
P u b N u b C onfidential © 2015
SDKs for over 70 Environments
P a g e 20
P u b N u b C onfidential © 2015
• PubNub gzipped allSma imssepdl e b o d y
text wi th a h i g h l i g h te d w ords, a n d a simple link.• All msgs timestamped to nearest 10 nanosec
• Message “catch-up” on connection dropoutsmessages missed and delivers automatically on re-connection
• Survives tunnels, lost cell connections, switching between 2G/3G/4G and other spotty network environments
• Survives data center failure; all data replicated across 15 points of presence around the globe
Handling the Realities of Today’s Internet
P a g e 21
Data Center 1
Data Center 2
Data Center 3
Datacenter N
Replication Replication Replication
Sub
Pub
Sub
Pub
Sub
Sub
Sub
Sub
Sub
Sub
Sub
Sub
Pub
Pub
Pub
Geo Zone 1 Geo Zone 2 Geo Zone 3 Geo Zone 4
¼ second global latency
20-40ms regional
latency
•All data replicated to all data centers (configurable)
P a g e 22
•Data center failure drive automatic failover to next closer Point-of- Presence
•Auto Geo-routing to connect device to closest data center at all times
PubNub Network 99.999% SLA Architecture
Data Center 1
Data Center 2
Data Center 3
Datacenter N
Replication Replication Replication
Sub
Pub
Sub
Pub
Sub
Sub
Sub
Sub
Sub
Sub
Sub
Sub
Pub
Pub
Pub
Geo Zone 1 Geo Zone 2 Geo Zone 3 Geo Zone 4
¼ second global latency
20-40ms regional
latency
•Multiple RAM Caches per Data Center
P a g e 23
•All msgs timestamped to nearest 10 nanosec
all data centers (configurable)•Message “catch-up” on connection dropouts
PubNub Network 99.999% SLA Architecture