NoSQL versus SQLPro:● Horizontal scalability● Stores any data● High write or read throughputCons:● Only stores data, no reporting or aggregation● Eventually consistent
Related work● Search engines, like ElasticSearch and Solr● Blob / Object stores, like Ceph, OpenStackSwift● Analytics, like Hadoop, Storm
Use cases @Flusso● Common solution to store large amounts ofdocuments and images. Known issue inseveral projects.● Manage state between mobile apps andbackend in aggregate store.
Summary● Value of relational databases● Two pitfalls:○ Scalability○ Mismatch OO and relation model● NoSQL databases○ Different modeling○ Distribution models○ CAP instead of ACID○ 4 Types: Key-Value, Document, Column-Family,Graph● Demos