I have an RDS Aurora MySQL 5.7 and a number of independent applications connected to it. Some of them are real-time websites while others are batch services (connected mostly to the reader). A recent event resulted in a spike in sessions and took down the writer. We suspect it was one of the batch jobs.
My question is, is there a way to limit the amount of resources/connections/sessions per MySQL user or database? If not, is there anything better to do other than creating a separate RDS for every application to make sure one doesn't take down the rest?
Thank you