ReactorFactory.Initialize(reactorCount);
comm = new Comm(0);
//Global.protocol = new Protocol();
ms_app_queue = new ApplicationQueue(workerCount);
ms_broker = new HdfsBroker(comm, props);
handlerFactory = new HandlerFactory(comm, ms_app_queue, ms_broker);
comm.Listen(port, handlerFactory, null);