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

Implement bestandsdelen introduced in ZGW Documenten API 1.1 to possibly help with reducing timeouts when uploading large documents when a slow DMS is configured #257

Open
MLenterman opened this issue Jan 16, 2024 · 0 comments
Labels
feature New feature or request

Comments

@MLenterman
Copy link
Collaborator

Currently uploading a 256Mb document to OpenZaak takes around 8 sec. It is also possible to configure a DMS as document backend via CMIS in OpenZaak. In this configuration we often see that the DMS is significantly slowing down document uploads to the point where ~40Mb document uploads take 2+ min to complete. Currently it is not realistically possible for municipalities to not use their DMS as document backend, so the only route for performance improvement from our side to change the way documents are uploaded.

Implementing bestandsdelen could potentially help by not having to directly wait for a document upload to finish, as the metadata of the document is added first and the smaller document chunks are uploaded asynchronously afterwards.

  • Successfully adding the document metadata with POST enkelvoudigInformatieObject AND successfully writing the document parts to some outbox should be considered a successful upload, despite the document not actually being uploaded yet.
  • An outbox pattern(ore something similar) should be used to assure eventual upload of the document parts.
  • Uploading of document parts should be done asynchronously and detached from any SOAP-action.

bestanddelen-sketch

@MLenterman MLenterman added the feature New feature or request label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant