Architecture: streaming data consolidation #2045
Unanswered
vaibhav-rbs
asked this question in
Q&A
Replies: 1 comment
-
it's unclear to me what exactly you want to achieve, but anyways, maybe this helps: https://github.com/crossbario/crossbar-examples/tree/master/scaling-microservices |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to come up with an architecture we have some streams/RPC clients running on python-Autobahn. We have a crossbar broker which allows a consumer application to take the RPC/stream and precess those values in the databases. Currently we have strategy of using
This works good if we have one to one mapping, but this also means that we can’t independently scale the number of Xbar servers and consumer application, as if we did that we will have problems as follows
Reached 80 % capacity, we have to spin up a new xbar instance for balancing the load.
The problem is we don’t want to have double entries in the DB as same message will be processed by Xbar1 and Xbar2 if we scale up based on the load
We need to have some type of service which consolidates the data points and process them once, I would like to listen some ideas and hear about potential solution.
Beta Was this translation helpful? Give feedback.
All reactions