[SNMP4J] Tomcat Servlet with SNMP object

Frank Fock fock at agentpp.com
Mon Feb 18 19:27:19 CET 2008


Hi Isaac,

Yes, it is recommended to use a single Snmp instance only.
How you manage that instance is open to you.

Best regards,
Frank

Isaac Cheung wrote:
> Hi,
> 
> I implemented a web service in Tomcat to issue concurrent SNMP requests to a managed device.
> I find that re-establishing the new SNMP object in each servlet thread is very expensive and i notice that the web service is taking a significant performance hit.  Do you have code sample of showing how to pool the SNMP objects or the DefaultUDPTransportMapping objects?  I'm assuming that's all possible?
> 
> Thanks,
> 
> Isaac G. Cheung
> 
> 
> 
> 
>       ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list