I do need the best performance. I have created a Network "Usage"
counter using the WPcap library (via an ActiveX component called
PacketX). As this counter must handle live network traffic, and must
examine the To/From IP address of each packet, performance is a big
issue.
This by itself would not be a problem, but I need to keep the counters
in memory, and have some way of retrieving them on a regular basis by
another application (a utility
that I wrote to provide the data for MRTG).
Currently, I have it running as a service and am using remoting to allow
the client app to retrieve the counter values. I was just wondering if
I used object pooling, would it be less CPU/memory intensive.
-Walter Zydhek