RetailRocket's application, which uses API Gateway, Lambda, and RDS PostgreSQL, experienced performance degradation during a flash sale due to increased API calls, Lambda invocations, database connections, and high DB CPU utilization. What should the solutions architect recommend to optimize the application's performance?