[Fiware-tech-help] CEP questions

Tali Yatzkar-Haham TALI at il.ibm.com
Mon Apr 13 15:13:43 CEST 2015


Glad you solved the issue.

As for your questions:
1. Yes. Posting the updated definition file just put it in the repository. 
You need to stop and start the CEP to make the CEP use the updated 
definition file
2. The number of events per seconds the CEP can handle depends on various 
parameters such as the number of rules, the number of active contexts, the 
complexity of the rules, the number of derived events, the number of 
events that participate in rules.  This doc includes performance 
evaluation for two usecases made for another EU project. Search for 
"performance"
http://www.speedd-project.eu/sites/default/files/D3.1%20-%20First%20version%20of%20event%20recognition%20and%20forecasting%20technology%20v1b%20-%20PART%201.pdf
3. Sliding window is one option, another option is to have temporal 
context with event initiator. You may want to read about these options in 
the CEP user guide. 

Best regards,
Tali

Tali Yatzkar Haham
Event-based Middleware & Solutions
IBM Haifa Research Lab, Israel
tali at il.ibm.com 972-4-8296320
 



From:   Ahmed Sadek <don1559 at gmail.com>
To:     Tali Yatzkar-Haham/Haifa/IBM at IBMIL
Cc:     Alex Glikson/Haifa/IBM at IBMIL, Kenneth Nagin/Haifa/IBM at IBMIL, 
MIGUEL CARRILLO PACHECO <miguel.carrillopacheco at telefonica.com>, 
"fiware-tech-he." <fiware-tech-help at lists.fi-ware.org>
Date:   13/04/2015 03:51 PM
Subject:        Re: [Fiware-tech-help] Regarding the Complex event 
processing CEP consumers output file



Thank you Tali for your response, it works now. I feel happy and stupid in 
the same time :)

I have few questions:

1- Each time I change in the definition file, I need to stop and start the 
CEP ?
2- Any information about the performance of the CEP, how many requests and 
conditions it can handle at which time ? can it scale to thousands of 
events per minute (4 ex 1000 patients measurements events / min) with 
thousands of rules to check against ?
3- How I can make a condition that check for events continuously not in 
the first 3 min ? (sliding window ?) 

Best,
Ahmed

On Mon, Apr 13, 2015 at 2:25 PM, Tali Yatzkar-Haham <TALI at il.ibm.com> 
wrote:
Ahmed, 

When you write a "." in the beginning of a path, the path is a relative 
path (relative to the current directory). 
So you need to change the path to 
"/opt/tomcat10/sample/DoSAttack_PredictedCrash.txt" (without the dot 
prefix) 
Make sure to change the path in both Consumers. 
Then repeat the steps I sent you. Hope it will solve the issue. 

Best regards,
Tali

Tali Yatzkar Haham 
Event-based Middleware & Solutions
IBM Haifa Research Lab, Israel
tali at il.ibm.com 972-4-8296320




From:        Ahmed Sadek <don1559 at gmail.com> 
To:        Tali Yatzkar-Haham/Haifa/IBM at IBMIL 
Cc:        MIGUEL CARRILLO PACHECO <miguel.carrillopacheco at telefonica.com
>, Kenneth Nagin/Haifa/IBM at IBMIL, Alex Glikson/Haifa/IBM at IBMIL 
Date:        13/04/2015 02:21 PM 
Subject:        Re: [Fiware-tech-help] Regarding the Complex event 
processing CEP consumers output file 



Thank you tali for you reply, I followed the steps above but still facing 
the same problem. 

Attached is the catalina.out and definition file. I don't know why it keep 
saying "No such file or directory" the directory sample is there and has 
755 permissions and I am giving the absolute path in the definition file 
"./opt/tomcat10/sample/DoSAttack_PredictedCrash.txt", the directory sample 
is empty and has no files inside it. 

Best, 
Ahmed 

On Sun, Apr 12, 2015 at 3:30 PM, Tali Yatzkar-Haham <TALI at il.ibm.com> 
wrote: 
Dear Ahmed, 

Sorry for the delay. I returned from vacation today and sent you an answer 
few minutes ago. 

Regards,
Tali

Tali Yatzkar Haham 
Event-based Middleware & Solutions
IBM Haifa Research Lab, Israel
tali at il.ibm.com 972-4-8296320




From:        Alex Glikson/Haifa/IBM 
To:        Ahmed Sadek <don1559 at gmail.com>, Tali 
Yatzkar-Haham/Haifa/IBM at IBMIL, MIGUEL CARRILLO PACHECO <
miguel.carrillopacheco at telefonica.com> 
Cc:        Kenneth Nagin/Haifa/IBM at IBMIL 
Date:        12/04/2015 11:02 AM 
Subject:        Re: [Fiware-tech-help] Regarding the Complex event 
processing CEP consumers output file 


Sorry I didn't respond earlier -- was on holidays myself, and missed this 
thread. 
Tali is back to work, and will handle this soon. 

Regards, 
Alex 

P.S. Miguel -- did we have someone from level-2 support team(s) who looked 
at this? From the description below it might very well be a usage question 
rather than a bug, so we might have saved a lot of time if this didn't 
have to go all the way down to the GE developer. 





From:        Ahmed Sadek <don1559 at gmail.com> 
To:        MIGUEL CARRILLO PACHECO <miguel.carrillopacheco at telefonica.com> 

Cc:        Alex Glikson/Haifa/IBM at IBMIL 
Date:        07/04/2015 11:43 AM 
Subject:        Re: [Fiware-tech-help] Regarding the Complex event 
processing CEP consumers output file 



Yes, Alex please I desperately need a person from support here. I am 
facing difficulties in receiving output events from the CEP and been stuck 
for few days now and the delivery deadline for the project is approaching 
and the CEP is a main component in the project. 
I posted a question on Stackoverflow also. 
http://stackoverflow.com/questions/29449106/no-output-from-the-complex-event-processing-engine-cep 


The CEP is accessible online if someone want to check it and see what is 
wrong. 

Sincerely, 
Ahmed Sadek 


On Tue, Apr 7, 2015 at 10:35 AM, MIGUEL CARRILLO PACHECO <
miguel.carrillopacheco at telefonica.com> wrote: 
Dear Alex,

Do we have alternative contacts for CEP suppoort of is it 100% on Tali?

I leave Ahmed in CC.

Miguel 

El 07/04/2015 a las 9:22, Ahmed Sadek escribió: 
Dear Miguel, 

I have contacted her directly, but she is on leave until 12 of April. What 
worries me that after she return she might not have an answer for my 
questions and we have a big project here that need to be delivered by the 
end of April and everything is dependent on this CEP. 

Ahmed 

On Tue, Apr 7, 2015 at 9:04 AM, MIGUEL CARRILLO PACHECO <
miguel.carrillopacheco at telefonica.com> wrote: 
Dear Ahmed,

Sorry for belated reply due to the Easter holidays. Please contact the GE 
owner directly. Her address is public on the catalogue:

http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online


Best regards,

Miguel 

El 01/04/2015 a las 18:39, Ahmed Sadek escribió: 
Dear All, 

When we create the consumers and specify output as a file 
"./sample/DOS.txt" 
Do we need to create those files or the CEP handle this issue ? 

I am asking because when I leave the folder empty, in catalina.out I find 
error that no such file or directory and no files are created 

Looking forward for your reply 

Ahmed Sadek 


_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help at lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-tech-help


-- 

Please update your address book with my new e-mail address: 
miguel.carrillopacheco at telefonica.com

----------------------------------------------------------------------
    _/          _/_/                     Miguel Carrillo Pacheco
   _/   _/     _/  _/   Telefónica       Distrito Telefónica 
  _/ _/_/_/   _/   _/   Investigación y  Edifico Oeste 1, Planta 6 
 _/   _/     _/  _/     Desarrollo       Ronda de la Comunicación S/N 
_/          _/_/                         28050 Madrid (Spain)  
                                         Tel:  (+34) 91 483 26 77    

                        e-mail: miguel.carrillopacheco at telefonica.com

Follow FIWARE on the net

                Website:  http://www.fiware.org
                Facebook: https://www.facebook.com/eu.fiware
                Twitter:  http://twitter.com/Fiware
                LinkedIn: https://www.linkedin.com/groups/FIWARE-4239932
---------------------------------------------------------------------- 


Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, 
puede contener información privilegiada o confidencial y es para uso 
exclusivo de la persona o entidad de destino. Si no es usted. el 
destinatario indicado, queda notificado de que la lectura, utilización, 
divulgación y/o copia sin autorización puede estar prohibida en virtud de 
la legislación vigente. Si ha recibido este mensaje por error, le rogamos 
que nos lo comunique inmediatamente por esta misma vía y proceda a su 
destrucción.

The information contained in this transmission is privileged and 
confidential information intended only for the use of the individual or 
entity named above. If the reader of this message is not the intended 
recipient, you are hereby notified that any dissemination, distribution or 
copying of this communication is strictly prohibited. If you have received 
this transmission in error, do not read it. Please immediately reply to 
the sender that you have received this communication in error and then 
delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, 
pode conter informação privilegiada ou confidencial e é para uso exclusivo 
da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário 
indicado, fica notificado de que a leitura, utilização, divulgação e/ou 
cópia sem autorização pode estar proibida em virtude da legislação 
vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o 
comunique imediatamente por esta mesma via e proceda a sua destruição 


-- 

Please update your address book with my new e-mail address: 
miguel.carrillopacheco at telefonica.com

----------------------------------------------------------------------
    _/          _/_/                     Miguel Carrillo Pacheco
   _/   _/     _/  _/   Telefónica       Distrito Telefónica 
  _/ _/_/_/   _/   _/   Investigación y  Edifico Oeste 1, Planta 6 
 _/   _/     _/  _/     Desarrollo       Ronda de la Comunicación S/N 
_/          _/_/                         28050 Madrid (Spain)  
                                         Tel:  (+34) 91 483 26 77    

                        e-mail: miguel.carrillopacheco at telefonica.com

Follow FIWARE on the net

                Website:  http://www.fiware.org
                Facebook: https://www.facebook.com/eu.fiware
                Twitter:  http://twitter.com/Fiware
                LinkedIn: https://www.linkedin.com/groups/FIWARE-4239932
---------------------------------------------------------------------- 


Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, 
puede contener información privilegiada o confidencial y es para uso 
exclusivo de la persona o entidad de destino. Si no es usted. el 
destinatario indicado, queda notificado de que la lectura, utilización, 
divulgación y/o copia sin autorización puede estar prohibida en virtud de 
la legislación vigente. Si ha recibido este mensaje por error, le rogamos 
que nos lo comunique inmediatamente por esta misma vía y proceda a su 
destrucción.

The information contained in this transmission is privileged and 
confidential information intended only for the use of the individual or 
entity named above. If the reader of this message is not the intended 
recipient, you are hereby notified that any dissemination, distribution or 
copying of this communication is strictly prohibited. If you have received 
this transmission in error, do not read it. Please immediately reply to 
the sender that you have received this communication in error and then 
delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, 
pode conter informação privilegiada ou confidencial e é para uso exclusivo 
da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário 
indicado, fica notificado de que a leitura, utilização, divulgação e/ou 
cópia sem autorização pode estar proibida em virtude da legislação 
vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o 
comunique imediatamente por esta mesma via e proceda a sua destruição 

[attachment "Screenshot from 2015-04-13 13:19:26.png" deleted by Tali 
Yatzkar-Haham/Haifa/IBM] [attachment "catalina.out" deleted by Tali 
Yatzkar-Haham/Haifa/IBM] [attachment "DoSAttack4.json" deleted by Tali 
Yatzkar-Haham/Haifa/IBM] 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150413/d12c1d57/attachment.html>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy