Content Deep Dive
Support for Concurrent Index Creation in Indexing Service
Blog post from Couchbase
Post Details
Company
Date Published
Author
Amit Kulkarni
Word Count
1,152
Language
English
Hacker News Points
-
Summary
In Couchbase Server 7.0, scopes and collections have been introduced to support multi-tenancy and simplify data modeling for modern applications. Each microservice can now create its own Global Secondary Indexes independently. The index creation workflow has been improved to allow multiple concurrent requests, reducing blocking issues and increasing user experience. Users can monitor queued index creations via the Web UI or programmatically using N1QL. The index service now prioritizes requests based on their timestamps, ensuring faster convergence of index creation requests. Additionally, a globally distributed lock mechanism is used to serialize index creations, allowing for more reliable concurrent execution.