gchq / sleeper

A cloud-native, serverless, scalable, cheap key-value store
Apache License 2.0
64 stars 10 forks source link

Prototype and test relational database approach to the state store #2102

Open patchwork01 opened 8 months ago

patchwork01 commented 8 months ago

Background

See related issues:

Description

See design document.

We'd like to know whether the relational database approach to the state store can improve on the consistency issues we've had querying the whole state from the DynamoDB state store at once.

Analysis

A prototype version of this could just support adding files to the state store and performing compaction on those files. We could just support the ParallelCompactionsIT system test, and see how far we can increase the parallelism of compactions.

We could split out issues to:

gaffer01 commented 1 month ago

Design document updated October 10th 2024 based on initial experimentation with a PostgreSQL state store.