On Tue, 9 Mar 2010 14:27:46 +0100 Cancani wrote: CD> The table elements and values must be stored in the file system because I CD> do not have much RAM to use.
Do you have enough memory to at least keep the indexes in memory, either temporarily or all the time? If so, you can use the MfD, container or table_data styles to track the indexes, and read the file for data when processing a request. If not, can you read through your files to search all the indexes faster than the timeout for a request from your manager (generally anywhere from 1 to 5 seconds)? If so, then you can use the iterate style so that you don't ever have to load all the indexes in memory. The third alternative, since you have a simple integer index, would be to use the raw style, but that requires more understanding of the api and protocol. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders