beacon talk

36
©2015 Couchbase Inc. 1 Couchbase Mobile 1.2

Upload: ldoguin

Post on 16-Apr-2017

123 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Beacon talk

©2015 Couchbase Inc. 1

Couchbase Mobile 1.2

Page 2: Beacon talk

©2015 Couchbase Inc. 2

Sync Gateway Improvements New Server API

– POST /{db}/_compact– POST /{db}/_purge– POST /{db}/_offline– POST /{db}/_online

Internally backed up by CBGT– Golang library that helps manage distributed partitions (or data

shards) across an elastic cluster of servers.– Also used for CBFT

Page 3: Beacon talk

©2015 Couchbase Inc. 3

Couchbase Lite 1.2 ForestDB Storage Engine (Developer Preview) -

Preview the speed of our new ForestDB storage engine. Database Encryption - AES-256 on-disk encryption with

your choice of provided storage library: SQLCipher or ForestDB.

Improved Performance - Sync protocol enhancements, compression optimizations, and lower memory usage are just a few of the many performance improvements we've included.

Page 4: Beacon talk

©2015 Couchbase Inc. 4

ForestDB K/V storage engine

– Open source– Developed by Couchbase– Based on HB+-Trie

Used with N1QL on Couchbase Server Can replace SQL Lite for Couchbase Lite

Page 5: Beacon talk

©2015 Couchbase Inc. 5

ForestDB

Page 6: Beacon talk

©2015 Couchbase Inc. 6

Couchbase Lite Encryption Why storing encrypted data?

– If your app needs to store private or confidential data– Regulation compliance

Why NOT storing encrypted data?– You already have device level encryption– Key Management can be a UX issue for users– Small performance and size overhead

Page 7: Beacon talk

©2015 Couchbase Inc. 7

Couchbase Lite Encryption

Page 8: Beacon talk

Create Offline IoT Experiences with Beacons

Learn the powers of NoSQL database for offline IoT experiences

Page 9: Beacon talk

©2015 Couchbase Inc. 9

$whoami

9

Laurent DoguinCouchbase Developer Advocate@ldoguin | [email protected]

Page 10: Beacon talk

Beacons ?

Page 11: Beacon talk

©2015 Couchbase Inc. 11

Page 12: Beacon talk

©2015 Couchbase Inc. 12

Page 13: Beacon talk

©2015 Couchbase Inc. 13

Bluetooth LE Otherwise known as BLE or Bluetooth SMART

Page 14: Beacon talk

©2015 Couchbase Inc. 14

Beacons standard

iBeaconAltBeaconEddystone

Page 15: Beacon talk

©2015 Couchbase Inc. 15

Beacon Use Cases Enrich personal experience with context Indoor localization Guiding Tracking Telemetry Scavenger hunt Gamification Self guided tour

Page 16: Beacon talk

What’s a Couchbase Dev Advocate doing here?

Page 17: Beacon talk

No Bars? What would be the problem?

Page 18: Beacon talk

Today’s Mobile Apps

Try again later.

No Internet

please wait…

Page 19: Beacon talk

©2015 Couchbase Inc. 19

How does this affect what people think about your app?How does this affect what people think about your app?

Doesn’t work a lot of the time and when it does it’s slow.

Page 20: Beacon talk

©2015 Couchbase Inc. 20

How does this affect application uninstall rates?How does this affect application uninstall rates?

0%

20%

40%

60%

80%

100%

FreezingCrashingSlow Responsiveness

Unin

stal

l Rat

e

Source: uSamp

Page 21: Beacon talk

Data Location is the Problem

Page 22: Beacon talk

Local Data + Sync is the Solution

Page 23: Beacon talk

©2015 Couchbase Inc. 23

What does this mean for your apps?What does this mean for your apps?

23

Always work both online & offlineAlways be blazing fast

Built with orders of magnitude less code

Users will absolutely love your apps

Page 24: Beacon talk

What is Couchbase Mobile

Page 25: Beacon talk

Couchbase Lite Sync Gateway

Page 26: Beacon talk

Couchbase Lite

NoSQL mobile database.

Runs in-process.

Small footprint.

Page 27: Beacon talk
Page 28: Beacon talk

o Authenticationo Authorizationo Data orchestration

Sync Gateway

Page 29: Beacon talk

29

Page 30: Beacon talk

o requireUser (username)o requireRole (rolename)o requireAccess (channels)

Sync Function

Page 31: Beacon talk

o channel (name)o access (username, channelname)o role (username, rolename)

Sync Function

Page 32: Beacon talk

©2015 Couchbase Inc. 32

Forums

32

http://forums.couchbase.com

Page 33: Beacon talk

©2015 Couchbase Inc. 33

Join the Conversation on Gitter

33

https://gitter.im/couchbase

Page 34: Beacon talk

©2015 Couchbase Inc. 34

Hack

34

http://bit.ly/mini-hack

Page 35: Beacon talk

©2015 Couchbase Inc. 35

Questions?

35

Page 36: Beacon talk

©2015 Couchbase Inc. 36

Thank You!

36