Exit HEROKU-ARCHITECTURE-DESIGNER Salesforce Certified Heroku Architecture Designer
Question 2 of 5
0% complete
Q2 Single choice

Universal Containers has a microservices architecture on Heroku. One microservice. named the Metrics Microservice. periodically fetches metrics from a fleet of loT sensors. Then, the Metrics Microservice is required to send relevant metrics to each of the other microservices using REST. When a new microservice is added to the architecture, the Metrics Microservice must send metrics to that new microservice too. As a result, adding microservices to the architecture causes performance issues.

How should an Architect recommend changing this architecture to improve its scalability?

  • A

    Configure each microservices to directly fetch the sensor metrics that are relevant to it.

  • B

    Use Private Space DNS Service Discovery to reduce the amountof time required for the Metrics Microservice to obtain each other microservice's IP address

  • C

    Configure the other microservices to pull the Metrics Microservice for updates every five seconds

  • D

    Use Apache Kafka on Heroku to publish metrics to a topic that the other microservices can consume.