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

Cancellation of timeouts #160

Open
jmalloc opened this issue Aug 31, 2023 · 0 comments
Open

Cancellation of timeouts #160

jmalloc opened this issue Aug 31, 2023 · 0 comments
Labels
adr Discussion about a proposed ADR

Comments

@jmalloc
Copy link
Member

jmalloc commented Aug 31, 2023

This issue a place for discussion about how to (conceptually) cancel a pending timeout message. This is, by design, currently not an explicit feature. Instead, a timeout is canceled implicitly when the process that created it is ended.

The reasoning behind this decision is nuanced. The main influencing factors are:

  • The asynchronous/non-deterministic nature of message-based applications
  • The desire to encode domain logic using business language, as opposed to technical language, as much as possible
  • A desire to avoid "double handling" of timeout cancellation logic

I think we should have a verbal discussion about this, from which I will take some notes to include here and in an ADR. We can use our somewhat typical example of an invoicing system that using a timeout message to mark invoices as overdue.

/cc @koden-km

@jmalloc jmalloc added the adr Discussion about a proposed ADR label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adr Discussion about a proposed ADR
Projects
None yet
Development

No branches or pull requests

1 participant