Search found 7 matches

by harpreet
Fri Sep 19, 2014 2:20 pm
Forum: Installation/Configuration
Topic: High Availabilty and Scalability
Replies: 1
Views: 443

High Availabilty and Scalability

Hi All, I have some design related questions for Odysseus. 1. Is it possible to use Odysseus in High Availability mode? 2. What are the benchmarks for Odysseus event processing? How many events per second can Odysseus support? 3. What is the expected way to use Odysseus in production? I mean how is ...
by harpreet
Fri Sep 19, 2014 2:13 pm
Forum: Adapter/Wrapper/Access Framework
Topic: Working with JSON
Replies: 18
Views: 1578

Re: Working with JSON

Thank You so much. It worked.

I'll trouble you guys again if I get stuck again. Hope you don't mind.


Thanks,
Harpreet
by harpreet
Thu Sep 18, 2014 5:16 pm
Forum: Adapter/Wrapper/Access Framework
Topic: Working with JSON
Replies: 18
Views: 1578

Re: Working with JSON

My bad. I did actually change the data. Forgot to mention in my comment. Sorry about that. Following are the contents of sample.json now: {"firstName":"a", "age":"10"} {"firstName":"b", "age":"11"} {"firstName":"c", "age":"12"} {"firstName":"d", "age":"13"} {"firstName":"e", "age":"14"} {"firstName"...
by harpreet
Thu Sep 18, 2014 2:34 pm
Forum: Adapter/Wrapper/Access Framework
Topic: Working with JSON
Replies: 18
Views: 1578

Re: Working with JSON

Thank you so much Marco Grawunder. That worked. Further I made following small changes in my code: windowed = ELEMENTWINDOW({SIZE=10}, data) out = AGGREGATE({ aggregations=[ ['COUNT', 'age', 'COUNT_age', 'Integer'], ['MAX', 'age', 'MAX_age'], ['MIN', 'age', 'MIN_age'], ['SUM', 'age', 'SUM_age'] ] },...
by harpreet
Thu Sep 18, 2014 8:03 am
Forum: Adapter/Wrapper/Access Framework
Topic: Working with JSON
Replies: 18
Views: 1578

Re: Working with JSON

Thank you ckuka and Marco Grawunder. Yes the issue was that I was using aggregation in another query. Now I have put the aggregation in the same query and I am not getting any error but I am not getting the desired result also. So this is the data that I have in sample.json {"firstName":"a", "age":"...
by harpreet
Wed Sep 17, 2014 8:46 am
Forum: Adapter/Wrapper/Access Framework
Topic: Working with JSON
Replies: 18
Views: 1578

Re: Working with JSON

Thanks a lot ckuka. That was very helpful. Now I can see that the json data that is read from the file or from a TCP port. Now I would like to perform some aggregation over that data. As you mentioned that "keyValueObject" handler is not supposed to have any schema, I followed your advice and I used...
by harpreet
Tue Sep 16, 2014 6:42 pm
Forum: Adapter/Wrapper/Access Framework
Topic: Working with JSON
Replies: 18
Views: 1578

Working with JSON

Hi All, I am new to Odysseus and also new to CEP in general. I have been trying to achieve simple JSON data aggregation using Odysseus but no luck. I use OpenSuse linux 12.3. I have a json file /root/odysseus_workspace/sample.json with following content {"firstName":"John", "lastName":"Doe", "age":"...