unexpected database load with JpaEventStorageEngine::fetchEvents ramping up #2641
Labels
Status: Information Required
Use to signal this issue is waiting for information to be provided in the issue's description.
Type: Question
Use to signal the issue is a question of how the project works and thus does not require development
Basic information
Description
Hi,
We have identified an issue with one of our applications that is built using Spring Boot 3, JPA, and Axon Framework 4.7.1. In a particular environment, we have noticed that despite low traffic, the database load is uneven.
(requests to RDS grouped by query)
Upon investigation, we have found that JpaEventStorageEngine::fetchEvents appeared to be ramping up over time, as indicated by the increasing blue bars. It is worth noting that during this time period, there was no scaling activity apart from a single deploy at 23 Feb 1500, which only caused a small bump. Interestingly, the UPDATE token_entry statement shown in the yellow bars was running at a constant rate.
Is this something you've seen in the past? Any ideas on how we could investigate this further?
Expected behavior
During no load,
JpaEventStorageEngine::fetchEvents
should be invoked at a more-or-less constant rate.Actual behaviour
In one of our environments, it ramped up over time.
The text was updated successfully, but these errors were encountered: