Really need to have a decent "trusted" Python-to-Python RPC mechanism that's Twisted and non-Twisted friendly which can just pass the data as Python objects. Trusted in the sense of "you control both ends of the pipe and can trust the data coming across the pipe". Even with PerspectiveBroker, there's far too much fiddling about required to make it properly linearise non-standard objects.After that turned to the query server code. Particularly I started in on hooking up the code to actually work in the system... and then realised that to do any testing I have to do major surgery on the testing framework to let it mock up the "spread" servers. So I decided to do a spike test, namely seeing whether it would be reaonable to add support to TwistedSNMP for using NetSNMP command-line tools in managed processes to do the queries. It was worth a shot, but while PySNMP is slow, it does seem faster than starting up the NetSNMP process, scanning all the MIBs, processing the command line arguments, then parsing them back out (I never even got to that part of it, the queries were already too slow to bother proceeding). May take a look at adding support for other SNMP libraries on Thursday. Tomorrow looks like a write-off as far as getting serious work done. We have a management meeting at some ungodly hour in the morning, then the VexMeet in the evening.
Pingbacks are closed.