sync server and async server