The Stargate Documents API: Storage mechanisms, search filters, and performance improvements
The Stargate Documents API enables users to create, get, modify, delete, and search JSON documents in a collection backed by Apache Cassandra. It abstracts away the complexities of converting JSON documents into tabular form and back again, allowing users to work with JSON over HTTP. One key use-case is rapid iteration, as it allows for storing documents without any lock-in to a schema. The API shreds JSON documents into rows that can be efficiently stored in Cassandra's sparse storage format. It also supports searching within the document and across collections using filters. Since its release, performance improvements have been made, including optimizing search functionality and reducing latency for reads and writes. Future enhancements include supporting OR queries and leveraging Cassandra more for multi-filter AND queries to improve performance further.
Company
DataStax
Date published
April 5, 2021
Author(s)
Eric Borczuk
Word count
1393
Hacker News points
None found.
Language
English