using couchbase and elasticsearch for real-time data analytics

12

Upload: sirketchup

Post on 26-Jan-2015

150 views

Category:

Software


4 download

DESCRIPTION

Using Couchbase and ElasticSearch for real-time data analytics

TRANSCRIPT

Page 1: Using Couchbase and ElasticSearch for real-time data analytics
Page 2: Using Couchbase and ElasticSearch for real-time data analytics

@DavidOstrovsky

Senior Architect @ SelaCo-author of:

“Pro Couchbase Server” – Apress Media 2014“Essentials of Developing Windows Store Apps Using C#”“Advanced Windows Store App Development Using C#”

CodeHardBlog.azurewebsites.net

Page 3: Using Couchbase and ElasticSearch for real-time data analytics

What’s up?

Why ElasticSearch and Couchbase?How do I connect the two?What can I do with this?Does it scale?

Page 4: Using Couchbase and ElasticSearch for real-time data analytics

Why use ElasticSearch?

If you don’t know this, you might be in the wrong room.

Page 5: Using Couchbase and ElasticSearch for real-time data analytics

Why use Couchbase Sever?

High performance key-value store.Easy to deploy and use.Easy to scale.High availability.High <insert buzzword here>.

Page 6: Using Couchbase and ElasticSearch for real-time data analytics

Why these two in particular?

Both use JSON documents.Complimenting strength.

ElasticSearch for flexible search, geolocation, analytics tools, and more.Couchbase for efficient data storage and retrieval, extremely fast response times.

Couchbase uses XDCR to push data to ElasticSearch.

Lower latency than polling, e.g. with River.

Page 7: Using Couchbase and ElasticSearch for real-time data analytics

Demo

Demo time!

Page 8: Using Couchbase and ElasticSearch for real-time data analytics

Common use-cases

Ad-hoc querying an existing Couchbase database.Geospatial searches on data.Real-time analytics of Couchbase data.

Page 9: Using Couchbase and ElasticSearch for real-time data analytics

Demo

More demo time!

Page 10: Using Couchbase and ElasticSearch for real-time data analytics

Is this production ready?

A typical Couchbase-ElasticSearch deployment uses a 2:1 or 3:1 ratio of nodes.

ElasticSearch only stores indexed data.Source data stored in Couchbase.

Used by multiple companies in Israel and abroad.

Page 11: Using Couchbase and ElasticSearch for real-time data analytics

Demo

So many demos!

Page 12: Using Couchbase and ElasticSearch for real-time data analytics

Questions