Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

move potentially long running and blocking requests into workers or blocking sections #36

Open
chris-giblin opened this issue Jul 21, 2022 · 0 comments
Assignees

Comments

@chris-giblin
Copy link
Contributor

During processing of encryption decryption requests, it is possible that a call to a network-based service such as for policy or key retrieval is possible. Despite efforts to cache, these blocking calls can occur and will result in errors due to the vert.x main loop constraints. Therefore the current initial code needs to be revised to take advantage of the patterns available in vert.x to support long-running and blocking code sections.

When properly programmed vert.x errors will be avoided. However, Kafka protocol time outs may be unavoidable.

First discuss in PR #31 (review)

@chris-giblin chris-giblin self-assigned this Jul 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant