Re: Regarding deployment of siddhi application in cluster
On Mon, Jun 25, 2018 at 12:33 PM Chiran Fernando <[hidden email]> wrote:
I configured your deployment with one manager and two resource nodes and deployed specific siddhi file as in . It was deployed as expected in a single resource node.
Just clarifying few details.
In distributed siddhi application, an execution group is a single unit of execution. For each execution group, a specified number of parallel Siddhi application instances are created. This is done via the @dist annotation. As per your query, no specific number of parallel instances are specified for group1, and therefore, only one instance is created for it at runtime by default. Therefore it will only deployed in a single resource node.
On Sun, Jun 24, 2018 at 8:32 PM Babravahan Babravahan <[hidden email]> wrote:
wanted to add, I am using wso2 SP version 4.0.0.
On Sun, Jun 24, 2018 at 6:45 PM, Babravahan Babravahan <[hidden email]> wrote:
I have some issues regarding deploying the siddhi application on cluster:
I am planning to support more that 200 rules , each rule having multiple queries in it.
so i had setup a fully distributed siddhi SP cluster with one manager and two workers (in future i want it to be expandable to more workers if number of rules increase). since rule are all unique i am pushing them in batch of 50 each to manager node.
I am facing some issue when i do this.
1.rules pushed can be seen in one worker node's siddhi-files folder but no rule seems to appear in the other worker node's siddhi-files folder.(even though the manager node log seems to show the deployment in it)
2. since all siddhi rule pushed, is registered to listen to same topic with only their group id being different . I observe that when in push events via this topic only few of rules get executed and output can be seen.