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

AppendSink #245

Open
cryogenian opened this issue Mar 17, 2022 · 1 comment
Open

AppendSink #245

cryogenian opened this issue Mar 17, 2022 · 1 comment
Assignees

Comments

@cryogenian
Copy link
Contributor

https://github.com/precog/features/issues/126#issuecomment-1071217955

AppendEvent stream need to be prepared and split/rechunked due to considerably small maximum size of append block in azure (it's 4Mib).

An alternative to usage of AppendBlob we can use BlockBlob, it also has size limits but they're much greater, and usage somewhat more familiar (e.g. it has commit). Construction of BlockBlobAsyncClient is the same as AppendBlobAsyncClient.

I'd go with block blobs, uploading all data from AppendEvent chunks to stages and on commit/finalize do commit(listOfPreviousIds ++ justUploadedStageIds).

@cryogenian cryogenian self-assigned this Mar 17, 2022
@cryogenian
Copy link
Contributor Author

<2>

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