Skip to content
stephenlb edited this page Feb 16, 2013 · 61 revisions

Welcome to the PubNub Network

The PubNub Network makes Real-time Communications Simple with an easy API. Two Functions: Send/Receive (Publish/Subscribe). We provide a web-scale API for businesses to build scalable Data Push communication apps on Mobile, Tablet and Web. Bidirectional JSON. Ask for commit access - via Twitter: @PubNub - via IRC: #pubnub on FreeNode - via Email: [email protected]

Getting Started

You are here because you need to send and receive data between devices in real-time without bothering with the complexities of managing a messaging service. You will typically start by selecting your target platforms first and then mixing/matching the APIs for your supported platform. For example you are building an iOS App for the iPhone using PubNub's Objective-C SDK plus PubNub's Ruby SDK running a Ruby on Rails application server. This would allow you to send messages from your Ruby application server directly to the iPhone in Real-time.

Mashape API Playground with PubNub

Play with the PubNub API on Mashape: https://www.mashape.com/pubnub/pubnub-network#documentation

Note: Some APIs require you to have your own PubNub Account. However you may use the demo Pub/Sub keys for testing purposes.

PubNub Network A+ Grade SDKs

There are lots of options so start here if you want to find your target platform. The following list of languages and platforms are the PubNub Network A+ Grade SDKs. There are many languages and SDKs that exist which connect to PubNub Network today. The following list is our officially supported SDKs:

SDK Version M W P UB U SP PR AE EV PI TM SP AS IP OF HN AR
JavaScript 3.4.1 X X X X X X X X X X X X X X X X X
JavaScript 3.4.1 X X X X X X X X X X X X X X X X X
Key Descriptions
Index Name Description
(M) Multiplexing Automatically Manage Connections for Full Multiplexing Support.
(W) Windowing Message Windowing Support for Optimized Network Throughput. Significant Optional Network Efficiency Improvements for mobile and web.
(UB) Upstream Cache Bursting Automatically Route to the next Upstream Data Center Faster than normal.
(P) Persistent TCP Socket Socket Connections that stay open forever until manually closed.
(U) UTF-8 Full UTF-8 Character Set Support.
(PN) Pings Ping Interval Support with user supplied rate.
(SP) Storage/Playback Ability to issue Replay and History calls.
(PR) Presence Support for collecting and receiving Presence Data in real-time.
(AE) AES256 Support for client-side symmetric cryptography which can travel cross-platform for unified cipher key Encryption/Decrption.
(EV) Events Support connect, disconnect and reconnect events.
(TM) Timeout Client-side control of timeout before tearing down the TCP Socket connection and re-establishing a new session; only recommended to be used for high-frequency messaging apps.
(SP) Queue for Publishes Support for proper Queueing of Publishes.
(AS) Asynchronous Interface Non-blocking interface for easy Pub/Sub requests.
(IP) IP Change Detection Ability to detect IP Changes and Re-connect as needed.
(OF) Offline Detection Ability to auto-detect network loss and auto-reconnect.
(HN) Auto-Sync Here Automatically bridges the gap between join/leave events in presence from current state of connected users by aggregating user events.
(AR) Any Recovery Ability to recover from any Network Garbage or Other Error.

Quick Links

Clone this wiki locally