Hi CEP team,

I'm running performance tests for an execution plan which is used to send
session termination events for security analytics dashboard. I need to
perform a load test for flushing an event table scenario. We have added
another temp stream to trigger the event table flush as below. Since we
need to measure throughput/latency for event table flushing we have
(temporally) added current timestamp to one attribute of each event. But it
appears that the timestamp is same for every event, which causes erroneous
latency values. Is this the expected behavior of below Siddhi syntax? Or
else what would be the best approach to load test a scenario like this?
Appreciate your thoughts/comments. I'm using this consumers/publishers,
based on these samples [1].

from flushStream join EventTerminationTable
select sessionId, time:timestampInMilliseconds(time:currentTimestamp(),
'yyyy-MM-dd HH:mm:ss') as sessionStart, sessionRenew, sessionTermination,
action, username, userStoreDomain, ip, tenantId, rememberFlag
insert into TestSessionAnalyticsOutputStream;

[1] https://github.com/wso2/product-cep/tree/master/modules/samples

Thanks,
CD

-- 
*CD Athuraliya*
Software Engineer
WSO2, Inc.
lean . enterprise . middleware
Mobile: +94 716288847 <94716288847>
LinkedIn <http://lk.linkedin.com/in/cdathuraliya> | Twitter
<https://twitter.com/cdathuraliya> | Blog
<https://cdathuraliya.wordpress.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to