Skip to content

Compression and encryption #427

Answered by badrishc
cocowalla asked this question in Q&A
Mar 10, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Yes, it's definitely doable using our generic IDevice abstraction. The API is fairly cleanly defined and we have users do things such as adding checksums, transparently to FASTER core.

You would write compressed blocks to disk and need some lookup structure to find them, since pages would be of variable size. Random reads might need to read the entire page, decompress and return the record.

To get started, see our in built implementations such as ManagedLocalStorageDevice.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cocowalla
Comment options

@badrishc
Comment options

Answer selected by badrishc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants