Re: Use case for The Broadcast State Pattern and efficient database access

2019-01-24 Thread Andrey Zagrebin
Hi Marke, Q1: From your description of the problem, "Broadcast State Pattern" seems to be the suitable choice. If you want to keep the same state on all parallel instances which process stream[1] and update/store that state the same way on each instance by using each element of stream[2]. Q2: Apa

Use case for The Broadcast State Pattern and efficient database access

2019-01-24 Thread Marke Builder
Hi, I have a question regarding the "Broadcast State Pattern". My job consume two streams (kafka, rabbitmq), on one of the streams come a lot of data and continuously[1]. On the other very few and rarely[2]. I'm using the Broadcast State pattern, because the stream[2] are updating data which are