interactive web applications. It has a flexible data model, is easily scalable, provides consistent high performance and is capable of serving application data with 100% uptime. Merge of two popular NOSQL technologies: • Membase - which provides persistence, replication, sharding to the high performance memcached technology • CouchDB - which pioneers the document oriented model based on JSON
of a document (similar to SQL primary key) Metadata • CAS - form of basic optimistic concurrency • TTL - control document expiry • Flags - variety of options for additional document processing
coordinates communication of replicated data • Data manager supervise replica data assignment • Replica data distributed across all nodes in cluster • Documents placed into bucket. • Configurable number of replica per bucket • Clients in constant communication with server. • Clients participate in load-balancing • Clients react to topology change. • Orchestrator - elected node responsible for cluster configuration arbitration. • Topology change communicated to all clients • When orchestrator goes down - new node elected.
operations) with primary nodes only. Couchbase approach Every node is a primary node (for data subset): • Ensured consistency • All nodes are leveraged
consider: scalability, performance, flexible data model • Couchbase - important NoSQL player ◦ Document store ◦ Scales (up & down) ◦ Provides consistency and performance • Couchbase is not a silver bullet ◦ but a perfect match for certain types of applications.