Model: 3 types of latency
(1) network latency the time to make a call over the network eg. it takes 200ms to call that service (2) security latency eg. your token expired and you need to re-authenticate (3) data latency eg. you need to query a database Total latency Total latency is the sum of these parts. eg. I need to call another microservice to get it’s data network latency - my microservice get’s a call security latency - my microservice authenticates the call data latency - my own database query network latency - call another service security latency - the other service verifies my token data latency - the other microservice queries it’s database