Mesos uses zookeeper as service discovery but sometimes your applications don't support zookeeper for service discovery, or you need to run some legacy applications that you cannot modify the source, for that I research and test different systems for service discovery in Mesos/Marathon system. I will explain the problems and advantages of the different current solutions that I tested.