Check/Cache the master/slaver information for mysql and open a endpoint to client to query.