Currently netsnmptable is not well suited for single threaded applications with multiple IO channels. They have to wait blocking on netsnmptable.Table.get_entries() and thus delay other tasks. It would be nice if there was an asynchronous API so that one could integrate netsnmptable into an applications event loop.
The Net-SNMP C API features such an asynchronous API, but neither netsnmptable nor the original bindings expose it. There was some work to expose the asynchronous C API with the original Python bindings, but it's still on a separate branch and the merge request looks stalled. Maybe we can pick that up.
Currently netsnmptable is not well suited for single threaded applications with multiple IO channels. They have to wait blocking on netsnmptable.Table.get_entries() and thus delay other tasks. It would be nice if there was an asynchronous API so that one could integrate netsnmptable into an applications event loop.
The Net-SNMP C API features such an asynchronous API, but neither netsnmptable nor the original bindings expose it. There was some work to expose the asynchronous C API with the original Python bindings, but it's still on a separate branch and the merge request looks stalled. Maybe we can pick that up.