[Engine-devel] External events and flood rate

Eli Mesika emesika at redhat.com
Thu Sep 26 20:01:31 UTC 2013



----- Original Message -----
> From: "Michael Pasternak" <mpastern at redhat.com>
> To: "Eli Mesika" <emesika at redhat.com>
> Cc: "Christopher Morrissey" <Christopher.Morrissey at netapp.com>, engine-devel at ovirt.org
> Sent: Monday, September 23, 2013 1:35:43 PM
> Subject: Re: [Engine-devel] External events and flood rate
> 
> Eli,
> 
> any reason for hardcoding this [1]? i'd move it to vdc_config.

The reason was to lower the risk of external event flooding , but I agree that it can be configurable....

> 
> [1] Math.max(auditLogable.getEventFloodInSec(), 30) // Min duration for
> External Events is 30 sec
> 
> On 09/19/2013 12:50 AM, Morrissey, Christopher wrote:
> > Hi All,
> > 
> >  
> > 
> > I’ve been working on submitting external events to oVirt through the REST
> > API. It seems to be working in general, although it appears that, no
> > matter what value I put for
> > the flood rate in the event, only 1 or so events are allowed every 30
> > seconds. If I send another event during this time, I get an operation
> > failed exception. Should the
> > flood rate have any impact on this? Is there any way to allow my code to
> > get an event through when needed or should I have a thread that shoots
> > them off every 30 seconds if
> > several occur too quickly together?
> > 
> >  
> > 
> > -Chris
> > 
> >  
> > 
> > *Chris Morrissey*
> > 
> > Software Engineer
> > 
> > NetApp Inc.
> > 
> > 919.476.4428
> > 
> >  
> > 
> > 
> > 
> > _______________________________________________
> > Engine-devel mailing list
> > Engine-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> > 
> 
> 
> --
> 
> Michael Pasternak
> RedHat, ENG-Virtualization R&D
> 



More information about the Devel mailing list