User login

Weekly Report for week ending 19 May 2017




Replaced the python ipaddress module in my BGP program with my own very minimal one to reduce memory usage. Replaced some empty sets/lists that may not ever have data with "None" by default as empty data structures are quite memory heavy when you have millions of them. Also updated a couple of heavily used classes to use slots (explicitly stating the attributes) rather than leaving it open ended (and using more memory).

Started looking at adding a command interface to allow updating filters and receiving external measurements or metadata about how we should be routing traffic. The current event loop around I/O doesn't really support this (and has other issues about deadlocking with exabgp) so needed to be rewritten. All exabgp reading and writing now happens in the same place, and in a different thread to the command interface and route management.