Blog143.3K views4,918 votes0 replies1,497 following
Couchbase Sub-Document API: Cutting Payload and CAS Contention on Hot JSON Fields
Full-document get and replace operations waste bandwidth and amplify CAS contention when only a few fields change. Here is how lookupIn and mutateIn let you read and write individual JSON paths, with a user-profile example and the trade-offs to check before migrating.