introduction to couchbase mobile: building apps that work online and offline

Post on 26-Jul-2015

349 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

INTRODUCTION TO COUCHBASE MOBILE:BUILDING APPS THAT ALWAYS WORKWayne Carter, Chief Architect of MobileAli LeClerc, Product Marketing Manager

Who has used Couchbase?

Who has used Couchbase Mobile?

YearOne

2014

May Jun Jul Aug Sep Oct Nov Dec Jan FebMar Apr May

2015

1.0.3

1.0.4

Couchbase Lite iOS Android OS X Linux WindowsSync Gateway Multi-Master Sync Authentication Read/Write Access REST

1.0

1.0.2

Couchbase Lite Microsoft .NET Xamarin Mono

1.0.1

Couchbase Lite Forest DB (alpha)

Couchbase Lite UnitySync Gateway Web Hooks View Query

1.1

Couchbase Mobile Innovation

Couchbase Lite Unity (beta)

The most complete NoSQL database solution

to power mobiletabletwearabledesktoplaptopIoTwebappsgames

DeveloperAdoption

3,000

70,000

CustomerStories

PredixThe Cloud Platform for the Industrial Internet

Before

5 minutes

80 GB

After

2 minutes

1 GB

MarketLandscape

2007 2010 Today

The iPhone

Online-First to Offline-First

1998

Enterprise Sync

Shift to Local Data

Offline-first andneed for sync

REST

Mobile Sync Offerings

WhySync

Today’s Mobile Apps

Try again later.

No Internet

please wait…

The Problem

Remote Data

The Solution

Local Data + Sync

What does this mean for apps?

Always Work

Always Fast

CouchbaseMobile

Couchbase LiteEmbedded NoSQL Database

Sync GatewaySecure Synchronization

Couchbase

ServerCloud NoSQL Database

Couchbase Lite

Embedded NoSQL Database

Full-Featured

Lightweight500kb

Cross Platform

Secure

JSON

Sync Gateway

Secure Synchronization

Authentication

Data Read Access

Data Write Access

Couchbase Server

Cloud NoSQL Database

Highly Scalable

High Performance

Always On

JSON

ChangeEvents

Data Center

Database.Change

Document.Change

Query.Change

OnDocumentChanged

OnDatabaseChanged

Sync Gateway: OnDocumentChanged

"event_handlers": { "document_changed": [ { "handler": "webhook", "url": "http[s]://[user:pass@]www.domain.com/changehandler"}, "filter": `function(doc) { return (doc.type == "article"); }` } ]}

Sync Gateway: OnDatabaseChanged

"event_handlers": { "document_changed": [ { "handler": "webhook", "url": "http[s]://[user:pass@]www.domain.com/changehandler”} } ]}

DeploymentTopology

Star Tree Mesh

Web

S

erv

er

LB

R

<html/>

Star

Data Center

Web

S

erv

er

LB

R

<html/>

Tree

Data CenterRetail Store

Web

S

erv

er

LB

R

<html/>

Mesh

Data CenterRetail Store

Security

1. User Authentication2. Data Read/Write Access3. Data Transport on the Wire4. Data Storage on the Device5. Data Storage in the Cloud

Data Center

User Authenticatio

n

Read/Write Access

Transport on the Wire

Storage on the Device

Storage in the Cloud

User AuthenticationData Read/Write AccessData Transport on the WireData Storage on the DeviceData Storage in the Cloud

MobileSessions

• 101-102: Getting Started• 103: Building Peer-to-Peer Apps• 104: Building Unity Games• Advanced: Scaling, Deploying in the Cloud,

Building Web Apps• Customers & Users: GE, Ryanair, PVH, Vueit,

manuscriptapp.com

Q&A

top related