title: Interview question: How do you scale or optimize a microservice which receives millions of requests?
body: <p>I was asked a question during an interview:
  How do you optimize a microservice which receives millions of requests?
  How do you optimize the latency/frequency of a service response which accessed multiple times?</p>
  <p>My answer was:
  I would check the DB query which makes the response slow and then configure the cache.</p>
  <p>Can anyone let me in what are the ways a service can be optimized other than these? if there is anything cloud side?</p>