• Retry: • What happened when requested service is temporarily unavailable? • Timeout: • What happened when requested service is unresponsive? • Rate limit: • In-bound: Restrict others from accessing service too frequently. • Out-bound: Restrict request frequency to other service.
• Memory access is faster than disk. • No need to do complex computation again. • Real world example: Human Brain • In-memory cache Problem • Cache stored in server S1 can't be accessed by server S2. • Try In-memory database • E.g. Redis