I'm trying to implement some limits on the database requests made to the Neptune Server. The problem is:
- Multiple scheduled jobs that do analytics, logs, updates, deletions
- User activity, anything related to users: read, write, update, delete
All of these request depending on when they occur can impact the performance of the database and the availability, so we get sudden spikes in traffic which can happen at any given time. Scaling is not an option here, so i want to limit the request/jobs made to the database server. So my question is what would be the preferred way to implement this in Spring Boot and Java, since i have not found a suitable solution so far?