Transcript

Building Always-Available Mobile

Applications

Wayne Carter | Architect, Couchbase

Hello, my name is

©2014 Couchbase, Inc. 2

Wayne CarterArchitect, Couchbase

@waynecarter

Why aren’t today’s apps always-available?

How to build always-available apps

Hear from Firefly Logic

Live Demo

Q&A

What are we going to talk about today?

©2014 Couchbase, Inc. 3

So why don’t today’s mobile apps always work?

The Question

©2014 Couchbase, Inc. 4

5©2014 Couchbase, Inc.

Today’s Mobile Apps

Try again

later.

No Internet

please wait…

How does this affect what people think about your app?

©2014 Couchbase, Inc. 6

Doesn’t work a lot of the time and when

it does it’s slow.

How does this affect application uninstall rates?

©2014 Couchbase, Inc. 7

0%

20%

40%

60%

80%

100%

Un

insta

ll R

ate

Freezing

Crashing

Slow Responsiveness

Source: uSamp

Data location is the problem.

The Problem

©2014 Couchbase, Inc. 8

Data Location Options & Effects

©2014 Couchbase, Inc. 9

Data

Location

Network

Requirement

Application

Availability

Application

Responsiveness

Enabling

Technology

Remote

Only

Always

Connected

Sometimes

AvailableVariable

REST Services

(JSON)

Local

Only

Never

Connected

Always

Available

Always

FastSQLite

Local

& Remote

Occasionally

Connected

Always

Available

Always

FastSync

1 2 3 4 5

Data Location Options & Effects

©2014 Couchbase, Inc. 10

Data

Location

Network

Requirement

Application

Availability

Application

Responsiveness

Enabling

Technology

Remote

Only

Always

Connected

Sometimes

AvailableVariable

REST Services

(JSON)

Local

Only

Never

Connected

Always

Available

Always

FastSQLite

Local

& Remote

Occasionally

Connected

Always

Available

Always

FastSync

1 2 3 4 5

11©2014 Couchbase, Inc.

The Solution: Local Data + Sync

Always work both online & offline

Always be blazing fast

Built with orders of magnitude less code

Users will absolutely love your apps

What does this mean for your apps?

©2014 Couchbase, Inc. 12

Couchbase Mobile

©2014 Couchbase, Inc. 13

Couchbase Lite

On-device, lightweight, native embedded JSON database

Sync Gateway

Securely synchronize on-device Couchbase Lite with Couchbase

Server in the cloud

Couchbase Server

High performance, scalable, always-on JSON database in

the cloud

Building the Conference Mobile App

Bryan Hunter | CTO, Firefly Logic

Couchbase Lite

©2014 Couchbase, Inc. 15

Couchbase Lite

Full Featured

JSON

Native

Lightweight

Secure

??

Couchbase Lite for .NET

©2014 Couchbase, Inc. 16

Sync Gateway

©2014 Couchbase, Inc. 17

Sync Gateway

Replication

Authentication

Data Partitioning

Data Access Control

Couchbase Server

©2014 Couchbase, Inc. 18

Couchbase Server

JSON

Highly Scalable

High Performance

Always On

Demo

Zack Gramana | Senior Engineer, Couchbase

Q & A

@waynecarter @bryan_hunter @zgramana

top related