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

Open World Forum: Elastify your app: from SQL t...

Open World Forum: Elastify your app: from SQL to NoSQL in 40 mn!

Elastify your application
Open World Forum 2013

David Pilato

October 04, 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! Tugdual Grall Technical advocate Couchbase @tgrall David Pilato Technical advocate elasticsearch. @dadoonet dimanche 6 octobre 13
  2. From SQL ... WEB APP SQL JDBC HTTP / Servlet

    DAO CRUD SEARCH jdbc dimanche 6 octobre 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 dimanche 6 octobre 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 dimanche 6 octobre 13
  5. ... to NoSQL WEB APP NoSQL Memcache protocol HTTP /

    REST Couchbase Client json CRUD SEARCH dimanche 6 octobre 13
  6. ... to NoSQL WEB APP NoSQL Memcache protocol HTTP /

    REST Couchbase Client json CRUD SEARCH json dimanche 6 octobre 13
  7. ... to NoSQL WEB APP NoSQL Memcache protocol HTTP /

    REST Couchbase Client json CRUD SEARCH json HTTP / REST dimanche 6 octobre 13
  8. ... to NoSQL WEB APP NoSQL Memcache protocol HTTP /

    REST Couchbase Client json CRUD json HTTP / REST SEARCH & ANALYTICS dimanche 6 octobre 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 dimanche 6 octobre 13
  10. ELASTIFY YOUR APP from SQL to NoSQL in less than

    one hour! David Pilato Technical advocate elasticsearch. @dadoonet Tugdual Grall Technical advocate Couchbase @tgrall dimanche 6 octobre 13