On Sep 2, 2013, at 12:46 PM, culix <[email protected]> wrote:

> Hi Michael, thanks for the reply and the links. You're right - counting 
> connections makes much more sense.
> 
> In my tests with and without connection tracking my app seems to perform at 
> the same speed. This is good! Is there any significant performance overheard 
> to event listening? Or perhaps it depends on the event.

event listening is generally very low overhead.

> 
> From the API it looks like there is no un-listen command or equivalent.

event.remove() is implemented for 0.9.


> I guess this means you never have to unregister your listener command?

I don't think it's a common use case as event listeners are generally part of 
how an application configures itself to listen to fixed things like engines, 
connection pools and mappers.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to