Suho is Siddhi engine thread safe 1. send events 2. to change queries. Lakini answer depends on above.
Could u explain how two clients override the same query? are they running the same query? Thanks Srinath On Tue, Aug 25, 2015 at 3:24 PM, Lakini Senanayaka <lak...@wso2.com> wrote: > Hi Srinath, > > As an small introduction to my project,it is about EdgeAnalytics Service > which is an android service and it does edge analytic using Siddhi queries. > There are 2 types of clients for the service.I have developed Type 1 client > which sends it's own data to analyse with user define streams,rule and a > callback.I'm using AIDL interface method for the Client-Service connection. > > I have a copy of working project now.In here I used a single thread to > develop service as you told me in the meeting ,where we discussed the > Architecture of Edge Analytic Service.But in my application when we are > running 2 or more client apps in the same time the siddhimanager in the > service overrides the the 1st rule of the first running client with the > rule of second client.(in here rule mean the Logic)So for first client it > gives wrong results.So to overcome from that we have to use multi threading > and I discussed this issue with Shan and he told me that this problem can > be solve by using multi threading.So Could you please advice me how to > overcome this issue,although you told me not to use multithreading. > Suggestions would be appreciate. > > I have attached a documentation about Edge Analytic s Service. > > > Thank you. > -- > *Intern-Engineering* > Lakini S.Senanayaka > Mobile: +94 712295444 > Email: lak...@wso2.com > -- ============================ Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev