O SlideShare utiliza cookies para otimizar a funcionalidade e o desempenho do site, assim como para apresentar publicidade mais relevante aos nossos usuários. Se você continuar a navegar o site, você aceita o uso de cookies. Leia nosso Contrato do Usuário e nossa Política de Privacidade.
O SlideShare utiliza cookies para otimizar a funcionalidade e o desempenho do site, assim como para apresentar publicidade mais relevante aos nossos usuários. Se você continuar a utilizar o site, você aceita o uso de cookies. Leia nossa Política de Privacidade e nosso Contrato do Usuário para obter mais detalhes.
I’m the Chief Architect of Mobile at Couchbase where I head up their mobile products.
Today I’d like give you a quick overview of Couchbase Mobile and chat a bit about building apps that work both online and offline.
Before I get started let me get a feel for the room.
Who here has used Couchbase?
Ok…what about Couchbase Mobile?
Great…it’s good to have you all here today.
To get things started I’m going to bring up Ali Dodson.
Ali, does product marketing for our mobile products and she’s going to talk a bit about why our apps don’t always work…and what exactly we can do about it.
Ok, we’re poll-happy here at Couchbase. Another audience poll! How many of you have ever seen a activity indicator? You know, the little spinny thing on your phone like hey wait a second, I’m working on it? How many of you have ever tried to use an app and it didn’t work because there was no internet? How many of you liked it when your app ran slow or didn’t work? Oh...ha...this guy does. That’s kinda weird. Anyways...No I’m just kidding.
Right. So back to the point. None of us like these things. We all hate when our apps are slow or don’t work. So why are we, as developers, building apps that..just...well... stink?
Why are apps like this?
Let’s start with the typical deployment topology of today’s mobile apps.
We have an app running on a mobile device and we have data stored in the cloud.
When we have a network connection, we have apps that typically work as expected.
But let’s say you start running into network issues. Well, this is why we have UI components like activity indicators, progress bars…you know, the things this guy likes (kidding....). The app is telling you it’s TRYING to do what you want it to do, but that you need to wait awhile for it to do that.
And then when the network becomes unavailable, the app stops working completely....so try again later.
So, as you see, the root problem here is that apps store data in the cloud and rely on an internet connection to access that data in the cloud. This is what causes the “slowness” or “unresponsiveness”.
And if the network is available – great! All goes as expected.
But of course, we all know we can never count on the network to always work or always be fast. These are the top 2 fallacies of distributed computing.
So while the network can contribute to the problem, what this really is is a data location problem. Plain and simple.
Data location dictates app reliance on the network. If an app has to run to the cloud every time it needs to read or write any little piece of data, then it’s going to have problems.
If the network isn’t available, the app can’t get to the cloud and isn’t going to work.
If the network is slow, then getting data from the cloud will be slow and the app will be slow.
It’s all about your data location strategy. And I’ll tell you what your strategy needs to be: You need data local, and you need data remote. And you need something that’s going to keep those two data stores in sync.
So what does this mean for apps?
If you can solve the data location problem, then it’s simple:
Your apps will always work
Your apps will always be fast
And your users are going to have a truly great experience.
Ok, I think I’ve drilled this point home. At least I hope so. Build apps that always work and are always fast and your users are going to love you because of it. I’m talking – 5 stars, you’re awesome, kind of love.
So Wayne..I think you should share w/ everyone where Couchbase fit into all this.
Oh nice…I like it…pretty handsome.
I do absolutely love local data.
And the reason I love it is because it enables you to create truly amazing experiences.
And that’s what we want to help you do…create amazing experiences for your users.
So...we knew what you needed...
And we built you exactly that.
The most complete NoSQL database solution on the market.
…to power your
Mobile Tablet Wearable Desktop Laptop IoT Web
Apps and Games
Whether they’re being used on a morning commute.
In a dense metropolitan area.
At a packed sports arena.
Or anywhere else.
Your apps and games will be absolutely amazing.
And your users will absolutely love them.
Like Ali said…”5 stars love them."
So now I’d like to talk about...
We’ve done some really amazing things over the past few years and Couchbase Mobile is a big part of that.
We continue to innovate, we continue to lead the industry, and more importantly we continue to create the very best products for our customers…so that they can create the very best experiences for theirs.
…and this is the reason Couchbase is being chosen year-after-year, time-and-time again, to run under the mission critical applications of the worlds largest and most successful companies.
If your an indy developer working on a hobby…a startup building the next killer app…or a fortune 500 company looking to make your products even more amazing.
Couchbase Mobile can help.
It’s for everyone.
Last May, Couchbase Lite and Sync Gateway joined Couchbase Server to create the most complete NoSQL database solution for mobile.
Couchbase Lite: An embedded NoSQL Database that runs locally on the device. Sync Gateway: An internet facing cloud component that securely syncs data between the device and cloud. Couchbase Server: Our highly scalable, high performance, NoSQL Database that runs in the cloud.
Like Couchbase Server...Couchbase Mobile is 100% open source.
If you want you can grab the full source code from github and do whatever you want w/ it.
We also offer it in our free-to-use Community Edition that you can download from our wedsite.
And for those who want even more we have our paid Enterprise Edition which includes our world class customer support, priority access to our excellent technical staff, and much much more.
Ok...let’s dive a little deeper into each component starting w/ Couchbase Lite our embedded NoSQL database.
It has all of the features of our server database plus some additional features around revision handling and conflict resolution.
It’s super light. Weighing in at just 500kb on most platforms.
We’re very focused on cross platform portability.
And we’ve built from the ground up native for each platform.
We currently have support for a bunch of different platforms.
We have an Objective-C version for all the Apple technologies. This includes:
iOS OS X
Our Java version supports any platform that can run a J2SE compliant JVM. So:
Android Linux Windows And a ton more.
And our C# version supports all the .NET runtimes. That’s:
Microsoft Mono Unity Xamarin
So you have one model architecture that spans every platform.
Your data-at-rest is secured using the device’s local file system encryption.
And later this year we’re adding data level encryption on top of that.
If you provide us w/ a set of encryption keys we’ll encrypt and decrypt data as you read and write it to and from the database.
And we’re also adding data lease policies.
If you configure these policies and the device doesn’t re-lease the data it will be automatically deleted when its lease expires.
And data is secured during transport using TLS.
It has an awesome flexible JSON data model…just like the server.
So one modeling language throughout w/ no transforms.
Sync Gateway is a cloud component that sits on the boundary of your public and private cloud.
It resolves application level replication and security concerns allowing you to securely synchronize data over the internet.
For User Auth we support pluggable authentication.
Out of the box we have support for popular public login providers like Facebook or you can write your own custom provider.
You can restrict access to the system to authenticated users and optionally allow unauthenticated guest users.
For Data Read/Write Access there’s fine-grained control for granting data access for individual users and roles.
Read-side permissions are at the document level.
Write-side permissions are separate from read-side permissions and are down to the field level.
And backing all of this you have Couchbase Server in the cloud.
It’s highly scalable.
You can start w/ a few nodes and scale that out adding additional nodes as you need capacity.
Reading and writing data is always super fast.
Data is always available all the time.
And again it has the awesome flexible JSON data model…just like mobile.
Alright…Ali is going to come back up and tell you about a few of our awesome European customers.
So we have some super cool companies and apps that are using Couchbase Mobile right now.
Hopefully you caught the keynote by Ryanair. They’re doing AMAZING things with Couchbase Mobile.
As you might have heard, their first release is next week. It’s going to be awesome. So when you’re using the Ryanair app and you’re looking at: Airport and station details Seating maps And even VAT info
It’s all powered by Couchbase Mobile.
And they have some really amazing things coming soon. Stay tuned, it’s really awesome, I think you’re really going to love it.
Another very cool app – Seenit. Maybe you’ve seen some of the Couchbase team filming around the conference today on their mobile phones. In fact, if you don’t already have the app on your phone, you should get it. Seenit is a co-creation app that allows you and your group to take video footage and upload it all to the cloud.
And this is what you can create with it.
I’m really excited to invite SeenIt’s CTO, Dave Starling, up here to tell you guys about his Couchbase Mobile journey. Dave is a great friend to us and a very early adopter of Couchbase Mobile.
Awesome. Thanks Dave. I love the app, can’t wait to see what you guys do next.
So Ryanair and Seenit are just two examples of some pretty cool apps using Couchbase Mobile. And stay tuned...we’re going to have more amazing use cases and customer stories we’ll be sharing this year.
Thanks Ali. Thanks Dave.
So guys…we think Couchbase Mobile is really awesome…and I think you’re really going to love it.
We’ve got a few hands on training sessions today to help you get started.
Couchbase Live Europe 2015: Introduction to Couchbase Mobile: Building Apps that Work Online and Offline
Introduction to Couchbase Mobile
Building Apps That Work Online & Offline