Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(CosmosStore): Decouple Compression support #472

Open
wants to merge 5 commits into
base: cosmos-default-stj
Choose a base branch
from

Conversation

bartelink
Copy link
Collaborator

Makes the store encoding agnostic, to align with how Equinox.DynamoStore works.

This enables consumption of the events without being reliant on an Equinox store impl to interpret the encoded data

In particular, in the case of reactions processing, it allows one to opt out of decoding events that one will ultimately drop rather than process. Where that encoding involves compression, that also avoids the CPU and memory cost of doing inflation.

This can also provide better control in the context of integration testing.

See jet/FsCodec#126, which provides the API that replaces the functionality being pushed out.

@bartelink bartelink force-pushed the cosmos-fscodec-compression branch 2 times, most recently from 966fbf1 to 6ce9249 Compare January 1, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant