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

Support displaying past invocation #892

Open
Tracked by #888
tillrohrmann opened this issue Nov 20, 2023 · 0 comments
Open
Tracked by #888

Support displaying past invocation #892

tillrohrmann opened this issue Nov 20, 2023 · 0 comments
Labels
needs-refinement Issues that need further investigation

Comments

@tillrohrmann
Copy link
Contributor

tillrohrmann commented Nov 20, 2023

In order to better support workflow use cases, we believe that it is important to store the history of past invocation runs and to make them easily accessible. The assumption is that the completion/failure of invocation runs itself represent valuable information that the user wants to access. Moreover, it allows building support for re-executing individual workflow runs and to investigate potential failure causes.

1. Option: History server

The Restate runtime itself, does not store the history of invocation runs. Instead, one idea could be to offload this task to an external component, the HistoryServer. In order to implement such a HistoryServer, the runtime would need to expose information about ongoing and completed invocations (e.g. via a CDC stream).

2. Option: Cache in Restate server

An alternative w/o an additional dependency is to cache the past invocations in the Restate server. What we need to figure out is which information needs to be retained and for how long.

@tillrohrmann tillrohrmann added the needs-refinement Issues that need further investigation label Nov 20, 2023
@tillrohrmann tillrohrmann added the api-devex Restate user facing Development model label Dec 12, 2023
@tillrohrmann tillrohrmann changed the title Add HistoryServer for archiving past invocation runs Support displaying past invocation Dec 12, 2023
@tillrohrmann tillrohrmann removed the api-devex Restate user facing Development model label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-refinement Issues that need further investigation
Projects
None yet
Development

No branches or pull requests

1 participant