Next Generation Storage Engine: ForestDB – Couchbase Live New York 2015
Introduction to Couchbase Mobile – Couchbase Live New York 2015
Transcript of Introduction to Couchbase Mobile – Couchbase Live New York 2015
![Page 1: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/1.jpg)
Building Mobile Apps That Work Online & Offline
![Page 2: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/2.jpg)
Who has used Couchbase?
![Page 3: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/3.jpg)
Who has used Couchbase Mobile?
![Page 4: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/4.jpg)
Why did we build Couchbase Mobile?
![Page 5: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/5.jpg)
Try again later.
No Internet
please wait…
Today’s Mobile Apps
![Page 6: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/6.jpg)
What’s the problem?
![Page 7: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/7.jpg)
The Problem: Remote Data
![Page 8: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/8.jpg)
What’s the solution?
![Page 9: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/9.jpg)
The Solution: Local & Remote Data + Sync
![Page 10: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/10.jpg)
MobileCouchbase
![Page 11: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/11.jpg)
Couchbase LiteEmbedded NoSQL Database
Sync GatewaySecure Synchronization
Couchbase Server
Cloud NoSQL Database
![Page 12: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/12.jpg)
Couchbase Lite
Full FeaturedLightweightNativeSecureJSON
![Page 13: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/13.jpg)
Sync Gateway
Secure SynchronizationAuthenticationData Read AccessData Write Access
![Page 14: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/14.jpg)
Couchbase Server
Highly scalableHigh PerformanceAlways onJSON
![Page 15: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/15.jpg)
ChangeEvents
![Page 16: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/16.jpg)
Data Center
Database.ChangeDocument.Change
Query.Change
OnDocumentChanged(OnDatabaseChanged
)
![Page 17: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/17.jpg)
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"); }` } ]}
![Page 18: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/18.jpg)
Sync Gateway: OnDatabaseChanged"event_handlers": { "document_changed": [ { "handler": "webhook", "url": "http[s]://[user:pass@]www.domain.com/changehandler”} } ]}
![Page 19: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/19.jpg)
DeploymentTopology
![Page 20: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/20.jpg)
Star Tree Mesh
![Page 21: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/21.jpg)
<html/>
Star
Data Center
Load Balancer
Web Server
![Page 22: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/22.jpg)
Tree
Data Center
Load Balancer
![Page 23: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/23.jpg)
Tree
Data Center
Load Balancer
![Page 24: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/24.jpg)
Mesh
Data Center
Load Balancer
Retail StoreLoading
Dock
![Page 25: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/25.jpg)
Loading Dock Retail Store
Mesh
Data Center
Load Balancer
![Page 26: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/26.jpg)
Loading Dock Retail Store
Mesh
Data Center
Load Balancer
![Page 27: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/27.jpg)
Security
![Page 28: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/28.jpg)
1. User Authentication2. Data Read/Write Access3. Data Transport on the Wire4. Data Storage on the Device5. Data Storage in the Cloud
![Page 29: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/29.jpg)
Data Center
![Page 30: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/30.jpg)
User Authenticatio
n
![Page 31: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/31.jpg)
Read/Write Access
![Page 32: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/32.jpg)
Transport on the Wire
![Page 33: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/33.jpg)
Storage on the Device
![Page 34: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/34.jpg)
Storage in the Cloud
![Page 35: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/35.jpg)
User AuthenticationData Read/Write AccessData Transport on the WireData Storage on the DeviceData Storage in the Cloud
![Page 36: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/36.jpg)
CustomerStories
![Page 37: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/37.jpg)
PredixThe Cloud Platform for the Industrial Internet
![Page 38: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/38.jpg)
Before
5 minutes
80 GB
After
2 minutes
10 GB
![Page 39: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/39.jpg)
MobileSessions
![Page 40: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/40.jpg)
• Couchbase Mobile 101: How to build your first mobile app
• Couchbase Mobile 102: How to add secure sync to your mobile app
• Couchbase Mobile 103: How to build a peer-to-peer mobile app
![Page 41: Introduction to Couchbase Mobile – Couchbase Live New York 2015](https://reader034.fdocuments.in/reader034/viewer/2022042618/588a96021a28ab904b8b5eeb/html5/thumbnails/41.jpg)
Build a complete app in
30 minutes.github.com/couchbaselabs/mini-hacks