Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Real Time iOS apps with PubNub

Real Time iOS apps with PubNub

Slides for a Santex Techmeetup at Lima. https://eventioz.pe/e/tech-meetup-realtime-ios-app-with-pubnub

Jose Torres Cardenas

April 28, 2014
Tweet

More Decks by Jose Torres Cardenas

Other Decks in Programming

Transcript

  1. JOSE TORRES @coch3_ B.S. in Software Engineering Currently making Software

    Products based on iOS platform Visual Arts passionate and French Bulldogs lover
  2. BUT... All of these methods for providing real-time data involve

    HTTP request and response headers, which contain lots of additional, unnecessary header data and introduce latency.
  3. WEB SOCKETS Allow a long-held single TCP socket connection to

    be established between the client and server which allows for bi- directional, full duplex, messages to be instantly distributed with little overhead resulting in a very low latency connection
  4. FULL DUPLEX Data can travel in both directions simultaneously. Bidirectional

    communications channel that operates through a single socket over the Web.
  5. + Information PubNub PubNub documentation PubNub websockets Why your app

    needs real-time ? Websockets iOS SDK PubNub best practices http://www.pubnub.com/ http://cocoadocs.org/docsets/PubNub http://www.pubnub.com/blog/what-are-websockets http://venturebat.com/2013/04/05/why-your-app-needs-to-be-real-time/ http://www.websocket.org/quantum.html http://www.pubnub.com/docs/objective-c/iOS/ios-sdk.html https://help.pubnub.com/entries/22271342-PubNub-Best-Practices