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

[3.0] Optional syncing #153

Open
bchess opened this issue Jun 27, 2024 · 0 comments
Open

[3.0] Optional syncing #153

bchess opened this issue Jun 27, 2024 · 0 comments
Milestone

Comments

@bchess
Copy link
Contributor

bchess commented Jun 27, 2024

From @Eta0 in #127 (review)

We could add a synchronize=False mode (referring to syncing data to disk) for incremental writes that defers writing headers until a write occurs with synchronize=True or the file is finalized. For cases like uploading to a temporary file before uploading to S3, writing headers can always be deferred, and this could be better for performance whenever constant synchronization isn't needed since it can guarantee a single write for that entire section, and (potentially) allow less fiddling with encryption information in the header section from having to repeatedly edit data in it (like MACs).

@bchess bchess added this to the 3.0 milestone Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant