PubNub Powering Real-Time Web and Mobile Apps by
Stephen Blum CTO I am Changing The World.
PubNub Wednesday, October 17, 12
PubNub Powering Real-Time Web and Mobile Apps by
Stephen Blum CTO
PubNub Wednesday, October 17, 12
Goals Code with PubNub Location of Real-time Examples
PubNub Wednesday, October 17, 12
Wednesday, October 17, 12
Ask Questions Anytime
PubNub Wednesday, October 17, 12
The Fabric of the Internet ½ adults online worldwide Ping anyone in ¼ seconds 1.2 billion mobile web users
PubNub Wednesday, October 17, 12
The Reality of Most Apps
No real human interaction (No presence) No ability to instantly react (No collaboration or interaction)
PubNub Wednesday, October 17, 12
But wait! What about...
PubNub Wednesday, October 17, 12
But wait! What about...
PubNub Wednesday, October 17, 12
Real-Time is complex and expensive Protocols & Standards
Operations
Environments
Polling Long Polling WebSockets RCS TCP UDP C2DM APNS SPDY SSL
Network Config Load Balancing Global Scaling Connection dropouts Application State Data “Fan-Out” Maintaining Open Sockets Kernel Config Messaging frameworks Security & Encryption
iOS Android Blackberry Dumb Connected Phones Firefox Chrome/Safari IE 6, 7, 8, 9, 10 PHP Python Java Ruby C
PubNub Wednesday, October 17, 12
PubNub Democratizes Real-Time Apps
Connecting everyone on Earth in < 0.25 seconds PubNub is a blazing fast cloud-hosted real-time messaging system for web and mobile apps.
PubNub Wednesday, October 17, 12
PubNub Pulse
Maintain connections to millions of devices, publish one-to-one updates
PubNub Wednesday, October 17, 12
PubNub Pulse
Maintain connections to millions of devices, publish one-to-one updates
Wednesday, October 17, 12
Rebtel 2nd Largest VoIP Company Replacing SIP with PubNub Cross Platform, no proxy/firewall issues
PubNub Pulse Customers
Wednesday, October 17, 12
PubNub Pulse Customers
Wednesday, October 17, 12
MyPCBackup.com 100,000s Connected Devices Server-triggered backups and control Global distribution of clients
PubNub Pulse Customers
Wednesday, October 17, 12
Telecom Chat & Customer Support Multi-Player Gaming Transportation & Dispatch Embedded Device control/updates Much more...
PubNub Pulse Customers
Wednesday, October 17, 12
PubNub Galaxy
Massive “Fan-Out” of data: Publish once, Subscribe on every device
PubNub Wednesday, October 17, 12
PubNub Galaxy
Massive “Fan-Out” of data: Publish once, Subscribe on every device
Wednesday, October 17, 12
UEFA (Soccer) Broadcast game updates to 800k+ 50ms average delivery time Global audience, effortless scaling
PubNub Galaxy Customers
Wednesday, October 17, 12
PubNub Galaxy Customers
Wednesday, October 17, 12
Sentiment Analysis Real-time sync with LiveTV 2/sec updates on Phone, Tablet, and TV ~2 million messages per second
PubNub Galaxy Customers
Wednesday, October 17, 12
Entertainment Social TV Second Screen Advertising Social Shopping and Auctions Sporting Events and Concerts “Internet of Things”
PubNub Galaxy Customers
Wednesday, October 17, 12
Proven, Scalable, Powerful, Popular The “Akamai” for Real-Time Data •Distributed in 10 data centers worldwide, with cross-region replication for performance and reliability •99.999% SLA Guarantees •Over 2,000 active customers using PubNub •Average over 10,000 messages/second, with peaks > 2,000,000/second •Close to the metal (C native codebase)
PubNub Wednesday, October 17, 12
Works Everywhere Every device, every server, every real-world environment
JavaScript
iOS
Android Windows8
Ruby
PHP
Blackberry
Python Lua
Perl Flash
Erlang Perl 5
NodeJS .NET
Silverlight
PubNub Wednesday, October 17, 12
PhoneGap HTML5
Objective C Appcelerator
Java
C
Corona
Transparent, Cost-Plus Pricing Model
Sandbox
Go
Global
Free
$15/month
Advanced Features Volume Pricing Unlimited Scale
(dev/test)
PubNub Wednesday, October 17, 12
Real-Time Analytics
Maintain millions of connections, publish to individual devices
PubNub Wednesday, October 17, 12
PubNub Wednesday, October 17, 12
PubNub connects everyone in the world in ¼ second
PubNub
Wednesday, October 17, 12
On with the Tutorial!
PubNub Wednesday, October 17, 12
Engineered for Simplicity // send PUBNUB.publish({ channel : "hello_world", message : "data" })
// receive PUBNUB.subscribe({ channel : "hello_world", callback : alert })
Up-and-Running in 5 minutes
PubNub Wednesday, October 17, 12
Tutorial 1. 2. 3. 4. 5. 6. 7.
Start Slow with Dev Console V2 Open Text Editor and Code a Quick Example Open Chrome Developer Tools Show Where to Find Examples Show Audio Mosaic Show Presence Chat Write a mini Chat Application
PubNub Wednesday, October 17, 12