Servers? Where we're going we don't need servers

Preview:

DESCRIPTION

Real-time data is becoming ubiquitous. Mobile apps, Internet of Things, connected cars, and JavaScript-based desktop apps are relying more and more on real-time data and events. In this short talk, we’ll dive into how to add real-time functionality to your HTML5 apps and ways to build out back-end infrastructure. Alternatives to REST Hosted Real-time networks Chrome developer tools Node.js, Faye and Socket.io

Citation preview

Servers? Where we’re going, we won’t need Servers

Dave Nugent

Yesterday’s App Architecture

● Server-centric● Often synchronous● Single point of failure

Let’s talk about the future

Let’s talk about the future

● Realtime data● Massively scalable● Reliable● History● Secure● Permissions● Analytics

But Why Would You Want This?

● REST is pain on the front end● XML is pain on the front end● Existing infrastructures may not scale● We like JSON and JavaScript● Not just for front-end, but also:

● Smart, connected sensors● $300B market by 2020● Many people trying to build networks of

sensors

Open Source Approaches

● WebSockets○ Flash fallback

● Socket.io● Faye● Node.js

Hosted Approaches

● “Real Time Network”● Handles infrastructure● Handles scaling● Pay per message/per device● E.g.

Hosted Benefits● Global, Redundancy/Failover, Scalability,

Speed, SLA● Features: Multiplexing, Presence, Storage &

Playback, Real-time Analytics, Access Manager

● EASY

DEMOS!

I’m tired of slides anyway

Internet of Things (IoT)

Thanks!

Dave NugentDeveloper, PubNub@drnugentdave@pubnub.com

Recommended