Loading...
In the API design there are two major endpoints (following REST architecture to create these endpoints) involved which are ->
client makes a GET or POST call to the web servers the request reaches the load balancer based on algorithm used for load balancing traffic is distributed among different instances of application. Before a call is made to the DB a call is made to cache to see if a response is cached for that request if it is not then a db call is made and data is returned to the client and also it is cached in the cache.