Pergunta de entrevista da empresa FIRMINIQ

How would you optimize the performance of a Node.js application that interacts heavily with a database, such as performing frequent read and write operations?