beacon talk
TRANSCRIPT
©2015 Couchbase Inc. 1
Couchbase Mobile 1.2
©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
©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.
©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
©2015 Couchbase Inc. 5
ForestDB
©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
©2015 Couchbase Inc. 7
Couchbase Lite Encryption
Create Offline IoT Experiences with Beacons
Learn the powers of NoSQL database for offline IoT experiences
©2015 Couchbase Inc. 9
$whoami
9
Laurent DoguinCouchbase Developer Advocate@ldoguin | [email protected]
Beacons ?
©2015 Couchbase Inc. 11
©2015 Couchbase Inc. 12
©2015 Couchbase Inc. 13
Bluetooth LE Otherwise known as BLE or Bluetooth SMART
©2015 Couchbase Inc. 14
Beacons standard
iBeaconAltBeaconEddystone
©2015 Couchbase Inc. 15
Beacon Use Cases Enrich personal experience with context Indoor localization Guiding Tracking Telemetry Scavenger hunt Gamification Self guided tour
What’s a Couchbase Dev Advocate doing here?
No Bars? What would be the problem?
Today’s Mobile Apps
Try again later.
No Internet
please wait…
©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.
©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
Data Location is the Problem
Local Data + Sync is the Solution
©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
What is Couchbase Mobile
Couchbase Lite Sync Gateway
Couchbase Lite
NoSQL mobile database.
Runs in-process.
Small footprint.
o Authenticationo Authorizationo Data orchestration
Sync Gateway
29
o requireUser (username)o requireRole (rolename)o requireAccess (channels)
Sync Function
o channel (name)o access (username, channelname)o role (username, rolename)
Sync Function
©2015 Couchbase Inc. 33
Join the Conversation on Gitter
33
https://gitter.im/couchbase
©2015 Couchbase Inc. 34
Hack
34
http://bit.ly/mini-hack
©2015 Couchbase Inc. 35
Questions?
35
©2015 Couchbase Inc. 36
Thank You!
36