Enterprise architects have to decide on the database platform that will meet various requirements: performance and scalability on one side, ease of data modeling, agile development on the other, elasticity and flexibility to handle change easily, and a database platform that integrates well with tools and within ecosystem. This presentation will highlight the challenges and approaches to solution using Couchbase with N1QL.
Enterprise architects have to decide on the database platform that will meet various requirements: performance and scalability on one side, ease of data modeling, agile development on the other, elasticity and flexibility to handle change easily, and a database platform that integrates well with tools and within ecosystem. This presentation will highlight the challenges and approaches to solution using Couchbase with N1QL.
Enterprise architects have to decide on the database platform that will meet various requirements: performance and scalability on one side, ease of data modeling, agile development on the other, elasticity and flexibility to handle change easily, and a database platform that integrates well with tools and within ecosystem. This presentation will highlight the challenges and approaches to solution using Couchbase with N1QL.
-------
V3 – Volume Velocity Variety
Simple One media installation of the cluster.
90 seconds to install!
Simple One media installation of the cluster.
90 seconds to install!
Data-parallel — Query latency scales up with cores
Memory-bound
An entity-relationship model (ER model) is an abstract way to describe domain information, in a manner that can be mapped to a database.
Even though the ER Model comes from relational databases, similar ideas can help you get the most out of N1QL for your document data.
Protocol seemlessly consolidate/encapsulate working set management and storage cache
Restartable – enable client to stop and resume work
Universal – stream “Database change record”, not just data – enable disparate clients to have common agreement on a consistent state
Effiicient – Multi-plex connection, de-duplication, memory-to-memory, flow control
Within a cluster, Couchbase Server provides strong consistency at the document level. On the other hand, XDCR also provides eventual consistency across clusters. Built-in conflict resolution will pick the same “winner” on both the clusters if the same document was mutated on both the clusters. If a conflict occurs, the document with the most updates will be considered the “winner.” If the same document is updated the same number of times on the source and destination, additional metadata such as numerical sequence, CAS value, document flags and expiration TTL value are used to pick the “winner.” XDCR applies the same rule across clusters to make sure document consistency is maintained.
These nodes are connected and talk to each other over TCP.
Note that we have dropped down one rung on our depth guage.
Single node. Unit of the cluster.
Comprised of a collection of cooperating processes.
Highlight the part that is the cluster manager: babysitter + ns-server
Babysitter will restart upon failure.
<zoom in: show diagram of a single node>
ns_server
view-engine
optional: memcached
optional: index
optional: query
xdcr
all managed by babysitter
<zoom: NODE>