Full AWS Practitioner Certification Question

A logistics company has developed an API that ingests real-time telemetry data from a network of monitoring devices. This API writes the incoming data directly to an Amazon RDS database for later analysis. The volume of data varies throughout the day. During traffic spikes, the API frequently returns timeout errors. After reviewing logs, the team finds that the database cannot handle the high rate of write requests, and the number of direct connections is overwhelming the DB instance.What is the most effective solution to reduce database pressure, limit direct connections, and ensure that data is not lost during peak load periods?