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

Add ability to write chunks without a length specified #9

Open
ecton opened this issue Aug 10, 2023 · 0 comments
Open

Add ability to write chunks without a length specified #9

ecton opened this issue Aug 10, 2023 · 0 comments

Comments

@ecton
Copy link
Member

ecton commented Aug 10, 2023

One thing I did for speed is to require the length for each chunk, so that we can avoid needing to re-patch the length after the chunk is done writing.

However, for some workloads, it may be cheaper to do the extra IO than it would be to pre-compute the length. It shouldn't be too tricky to support this flow.

The documentation for this new function should describe the implementation so that users can make a judgement about whether they want to try to compute the chunk sizes or whether they want to let OkayWAL fill in the details for them.

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

No branches or pull requests

1 participant