Datadog interview question

How can you improve the efficiency?