This code converts the master daemon to asyncore/mainloop. Its purpose is to
eventually make the master more scalable, although more work is needed for it
to fully achieve its goals, for now I'm sending it out because:
a) I want the code discussed before I have to rebase/change 10s for patches
b) It achieves the quite smaller goal of making masterd not affected by luxi
connection DOS
Guido Trotter (3):
daemon.AsyncStreamServer
Convert ganeti-masterd's main thread to mainloop
async_chat based MasterClientHandler
daemons/ganeti-masterd | 182 +++++++++++++++++++++++-------------------------
lib/daemon.py | 94 ++++++++++++++++++++++---
2 files changed, 172 insertions(+), 104 deletions(-)