Talk

Offline first and search on steroids with Couchbase Mobile and Elasticsearch

By Vegard Haugstvedt

You're making a mobile app, and are required to retrieve content from the cloud, but at the same time the app needs to work if the phone is offline. Now you need to figure out how to deal with syncronization, temporary storage, keeping control of online status, etc. Sounds familiar? I know such problems have given me a few gray hairs...

But don't give up! Couchbase Mobile comes to the rescue: Built-in synchronization, a NoSQL database on your mobile and support for all major platforms is here to help you.

And even better: I will show you how to combine this great technology stack with Elasticsearch to get even better (online) search in your Couchbase database, and how to implement fallbacks for offline situations.

Details

Date & Time
Day 2 (25th June) 14:10 - 14:40
Location
Function Room 1
Category
Cloud
Language
English (with English Slides)
Target Audience
Developers
Requirement
Some knowledge of NoSQL and/or mobile development is recommended, but not required.
Intermediate

You're making a mobile app, and are required to retrieve content from the cloud, but at the same time the app needs to work if the phone is offline. Now you need to figure out how to deal with syncronization, temporary storage, keeping control of online status, etc. Sounds familiar? I know such problems have given me a few gray hairs...

But don't give up! Couchbase Mobile comes to the rescue: Built-in synchronization, a NoSQL database on your mobile and support for all major platforms is here to help you.

And even better: I will show you how to combine this great technology stack with Elasticsearch to get even better (online) search in your Couchbase database, and how to implement fallbacks for offline situations.

I will present the overall architecture of the technology stack described above, founded in my own hobby-project, and give the attendees the most key reasons for why they should use this setup. I will then go into detail about the code needed to setup Couchbase Mobile, as well as code and config to use Elasticsearch for indexing and search, with fallback-code for search when offline.

Afterwards, attendees will have both the arguments for and the information required to test this technology stack in their own projects.

Vegard Haugstvedt

Photo of Vegard Haugstvedt
Origin
Norway
Company
Itera Norge AS

Biography

Vegard is a full-stack developer at the Norwegian IT-consulting company Itera. His greatest passion is creating good user experiences on the web, but he also loves playing around with gadgets and multiple hobby-projects.