Discover Endpoints
To fully embrace stateless serverless architecture, you can register an endpoint when the service is running. It reduce the need of manual configuration and make it easier to scale.
Register throught API
You can make API called to register an endpoint, and remove it when your service is down.
Heartbeat Mode
A heartbeat mode will require the service to send heartbeats to the gateway operator. The operator will add the endpoint automatically. If the heartbeat is not received in a certain amount of time, the endpoint will be removed from the list.