Developing on a flexible schema system like Couchbase makes you more agile in responding to changing needs. However, to really make development easy you still need to map the underlying documents to data structures in higher level languages and have a data model supporting your access patterns.
Couchbase Server 4.5 added an innovative JSON streaming-parser in the core of the server enabling Sub-Document operations over the super-efficient binary protocol. Using this, Data Structures such as Lists, Maps, Sets and Queues have been added to Couchbase SDKs. Since the underlying representation is still JSON, it retains the flexible data modeling needed. Of course, services such as N1QL and Full Text Search work exactly as expected on these same JSON documents.
In this session, you will learn what to consider when planning your data model and learn how the new Data Structures and Sub-Document operations can make your Couchbase apps more efficient. The session will show an example data model and how Couchbase data structures map up to high-level APIs in platforms such as Java’s Collections Framework or functions in other platforms like Go.