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

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

David Pilato
September 20, 2013

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

Conference for JUG Summer Camp, La Rochelle, France

David Pilato

September 20, 2013
Tweet

More Decks by David Pilato

Other Decks in Programming

Transcript

  1. ELASTIFY YOUR APP from SQL to NoSQL in less than

    one hour! David Pilato Technical advocate elasticsearch. @dadoonet lundi 23 septembre 13
  2. From SQL ... WEB APP SQL JDBC HTTP / Servlet

    DAO CRUD SEARCH jdbc lundi 23 septembre 13
  3. From SQL ... WEB APP SQL JDBC HTTP / REST

    DAO jdbc { "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 lundi 23 septembre 13
  4. ... to NoSQL WEB APP NoSQL Memcache protocol HTTP /

    REST Couchbase Client json { "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 lundi 23 septembre 13
  5. ... to NoSQL WEB APP NoSQL Memcache protocol HTTP /

    REST Couchbase Client json CRUD SEARCH lundi 23 septembre 13
  6. ... to NoSQL WEB APP NoSQL Memcache protocol HTTP /

    REST Couchbase Client json CRUD SEARCH json lundi 23 septembre 13
  7. ... to NoSQL WEB APP NoSQL Memcache protocol HTTP /

    REST Couchbase Client json CRUD SEARCH json HTTP / REST lundi 23 septembre 13
  8. ... to NoSQL WEB APP NoSQL Memcache protocol HTTP /

    REST Couchbase Client json CRUD json HTTP / REST SEARCH & ANALYTICS lundi 23 septembre 13
  9. DEMO TIME ! Just one fork ahead... $ git clone

    https://github.com/dadoonet/sql2nosql.git $ mvn clean install $ cd demo-webapp $ mvn jetty:run lundi 23 septembre 13
  10. ELASTIFY YOUR APP from SQL to NoSQL in less than

    one hour! David Pilato Technical advocate elasticsearch. @dadoonet lundi 23 septembre 13