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

12
Servers? Where we’re going, we won’t need Servers Dave Nugent

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

Transcript of Servers? Where we're going we don't need servers.

Page 1: Servers? Where we're going we don't need servers.

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

Dave Nugent

Page 2: Servers? Where we're going we don't need servers.

Yesterday’s App Architecture

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

Page 3: Servers? Where we're going we don't need servers.

Let’s talk about the future

Page 4: Servers? Where we're going we don't need servers.

Let’s talk about the future

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

Page 5: Servers? Where we're going we don't need servers.

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:

Page 6: Servers? Where we're going we don't need servers.

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

sensors

Page 7: Servers? Where we're going we don't need servers.

Open Source Approaches

● WebSockets○ Flash fallback

● Socket.io● Faye● Node.js

Page 8: Servers? Where we're going we don't need servers.

Hosted Approaches

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

Page 9: Servers? Where we're going we don't need servers.

Hosted Benefits● Global, Redundancy/Failover, Scalability,

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

Playback, Real-time Analytics, Access Manager

● EASY

Page 10: Servers? Where we're going we don't need servers.

DEMOS!

I’m tired of slides anyway

Page 11: Servers? Where we're going we don't need servers.

Internet of Things (IoT)

Page 12: Servers? Where we're going we don't need servers.

Thanks!

Dave NugentDeveloper, PubNub@[email protected]