I have my cache is set to be 60 seconds. When I issue a "snmpget" request
multiple times for the same data field (just playing around with snmp) within a
table, I notice the row_prep() routine is called for each request. Since I
have code in the row_prep() routine to load the row data, then this means I am
reloading the row data everytime the "snmpget" request is issued.
I was wondering whether the row_prep() routine should be utilizing the cache
data in that the row_prep() routine should only be called once (for the
particular row) within the 60 seconds until the cache times out. This means
that subsequent "snmpget" requests (for the particular row) will not result in
the row_prep() routine being called.
Perhaps the cache is just used for the overall table "container" and not
utilized for specfic rows?
I am just curious .....
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders