Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Elastify your app: from SQL to NoSQL in less th...

Elastify your app: from SQL to NoSQL in less than one hour!

Talk given at Devoxx 2013: http://www.devoxx.be/dv13-david-pilato.html?presId=3281

During this "live coding" talk, Tugdual from Couchbase and David from Elasticsearch moved an old-fashion full SQL application to the NoSQL world.

Using CouchBase and Elasticsearch, they showed all gains you can have with this new architecture:
- Easyness
- Elasticity (scalablity)

Following points has been covered:
- Document Oriented Model
- JSon
- REST
- Caching / Memcache
- Full text search
- Building live dashboards with Kibana

Elasticsearch Inc

November 13, 2013
Tweet

More Decks by Elasticsearch Inc

Other Decks in Technology

Transcript

  1. @tgrall / @dadoonet #DV13sql2nosql Elastify your application: from SQL to

    NoSQL in less than one hour David Pilato Technical advocate elasticsearch. @dadoonet Tugdual Grall Technical advocate Couchbase @tgrall mercredi 13 novembre 13
  2. @tgrall / @dadoonet #DV13sql2nosql WEB APP SQL JDBC HTTP /

    Servlet DAO jdbc From SQL ... CRUD SEARCH mercredi 13 novembre 13
  3. @tgrall / @dadoonet #DV13sql2nosql WEB APP SQL JDBC DAO jdbc

    From SQL ... HTTP / REST { "id":10, "name":"Ranya Fanny", "dateOfBirth":"1970-06-28", "meta":{ "hifi":895, "food":531 }, "address":{ "country":"England", "zipcode":"86767", "city":"Liverpool", "countrycode":"GB" } } CRUD SEARCH mercredi 13 novembre 13
  4. @tgrall / @dadoonet #DV13sql2nosql WEB APP ... to NoSQL HTTP

    / REST { "id":10, "name":"Ranya Fanny", "dateOfBirth":"1970-06-28", "meta":{ "hifi":895, "food":531 }, "address":{ "country":"England", "zipcode":"86767", "city":"Liverpool", "countrycode":"GB" } } CRUD SEARCH NoSQL json Memcache Protocol Couchbase Client mercredi 13 novembre 13
  5. @tgrall / @dadoonet #DV13sql2nosql WEB APP ... to NoSQL HTTP

    / REST CRUD SEARCH NoSQL json Memcache Protocol Couchbase Client mercredi 13 novembre 13
  6. @tgrall / @dadoonet #DV13sql2nosql WEB APP ... to NoSQL HTTP

    / REST CRUD SEARCH NoSQL json Memcache Protocol Couchbase Client json mercredi 13 novembre 13
  7. @tgrall / @dadoonet #DV13sql2nosql WEB APP ... to NoSQL CRUD

    NoSQL json Memcache Protocol Couchbase Client json HTTP / REST SEARCH HTTP / REST mercredi 13 novembre 13
  8. @tgrall / @dadoonet #DV13sql2nosql WEB APP ... to NoSQL CRUD

    NoSQL json Memcache Protocol Couchbase Client json HTTP / REST SEARCH & ANALYTICS HTTP / REST mercredi 13 novembre 13
  9. Demo @tgrall / @dadoonet #DV13sql2nosql $ git clone https://github.com/dadoonet/sql2nosql.git $

    mvn clean install $ cd demo-webapp $ mvn jetty:run mercredi 13 novembre 13
  10. @tgrall / @dadoonet #DV13sql2nosql ELASTIFY YOUR APP: FROM SQL TO

    NOSQL! In less than one hour David Pilato elasticsearch. Tugdual Grall Couchbase mercredi 13 novembre 13