Junior — Senior
Algorithm for selecting an instance for an incoming request
livecode
Task condition
Scalable system:
- webApp — client application
- GW, SD — module that combines API gateway and service discovery functions
- several replicas of users-api
- a single database
It is necessary to describe the process by which GW, SD (Gateway + Service Discovery) receives an incoming request and determines to which instance of users-api it should be redirected.