Hi everyone,
I have enjoyed playing with Siddhi in the last couple of days. I would have a question regarding the inner-workings of window function.
I am testing the following way:
- submit events at limited rate (ca 1200/sec)
- for every second event, submit the confirmation event immediately
- window size is set to 60 minutes
For the first 350k events, the troughput on the sender side (Java, over TCP) looks like this:
10000 1211 msg / sec
...
100000 649 msg / sec
...
250000 235 msg / sec
...
Do you have any suggestions on how to increase the performance of this task?
Also, if the state persistence is enabled and set to be executed every minute (resulting in a 4.5 MB dump file after about 300k events), is there a way to ensure that no events are lost in case of failure?
As far as I understood, if the state is recovered from the file, the last minute of events could be lost.
Are there any siddhi-specific strategies to ensure no event loss?
Version in use: WSO2 Stream Processor v4.3.0, Siddhi file deployed in a worker node.
(Machine is a Win7 Desktop, Intel i7)
Thanks!
Best regards
Nikola