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

(consider) replace multiple queues with single topic #3

Open
myawnhc opened this issue Aug 6, 2019 · 0 comments
Open

(consider) replace multiple queues with single topic #3

myawnhc opened this issue Aug 6, 2019 · 0 comments
Labels
question Further information is requested

Comments

@myawnhc
Copy link
Owner

myawnhc commented Aug 6, 2019

Currently, the preAuth map listener writes the same transaction to multiple queues in order to pass it to different RuleExecutors for processing. This is an expensive duplication - maybe not too bad if executors are keeping up, but will quickly become an issue if executors fall behind.

A pub/sub model using ReliableTopic seems preferable.

The current RuleExecutor is built around CompletableFuture and works well with the IQueue.take mechanism for input; it's not clear how to adapt this to the event-driven onMessage style of a topic.

@myawnhc myawnhc added the question Further information is requested label Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant