[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Measuring load
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] Measuring load
- From: Matthew Wild <mwild1@xxxxxxxxx>
- Date: Sat, 31 Jul 2010 13:21:13 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Sat, 31 Jul 2010 08:21:40 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=VaAhSwjMyb8VBZDqzxww5BeJ/deM8YTXOCua+e8LywU=; b=HaqsocdAsVrhJGjPoV3zx98QKL6eqm8E2p8HXBixMmsTswh+GDHsdac2zY+pnF0cg8 Eiie7HnCZxIXsiuC+P+b0kpxcc7bN080I/ECi8STGULRLyVOpwGQ+pR5QRa5QEoMPQ0O 13C638a+YA8sZOQ/EUTVPUUkYivRWX451LdUU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=L4jfM65SmKRt1oNUsjL4qh8WQ4PjXph4QH6bFNIKTM4beO+P63pzy3cBPkqmfeJfez 70x0lRmX1M1xUcO8MhDfkMnEHdsCpFiS6UOlYxbDD5TCcgxEAuIk/MWo9wzrbC0Bg6sS tesAFYLORN7odTDkf6TXCciksciTu7dX/ft3k=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hi all,
I've been wondering if there is some way I can add load measurement to
my application when using libevent.
How to define "load" is open to interpretation, but generally I refer
to the case where events are being fired faster than my application is
processing them. Similar to the loadavg found on most *nix systems, I
guess this would be based on the average number of outstanding events
over a certain period of time.
Assuming this is the best approach, I searched for a way to retrieve a
list of events awaiting processing from libevent, but couldn't find
anything. Am I missing it, or is there no way to get this information?
Many thanks,
Matthew
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.