Client-side discovery is a service discovery pattern where the service consumer (the client or agent) is directly responsible for locating available service instances by querying a service registry and performing its own load balancing. In this model, the client obtains a list of live endpoints from the registry and selects one—often using a simple round-robin or random algorithm—before sending the request directly to the chosen instance. This pattern contrasts with server-side discovery, where an intermediary component like an API gateway or load balancer handles the lookup and routing.
