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

Track delivery per handler #53

Open
mlidbom opened this issue Mar 12, 2021 · 0 comments
Open

Track delivery per handler #53

mlidbom opened this issue Mar 12, 2021 · 0 comments

Comments

@mlidbom
Copy link
Owner

mlidbom commented Mar 12, 2021

  • Each handler has an immutable GUID id and Messages are routed on a per handler basis.
    • Use bitflag field to track which handlers of an event/command have been invoked. (v)char to enable arbitrary number of handlers
    • A separate table maps bitflags per concrete message type to handler guid and is loaded on startup
    • We get delivery tracking per handler
    • but still only one row updated on commit meaning no loss of performance or scalability
    • Handlers can now be moved to have their own queue without having to be repopulated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant