Hi everybody,

Wanted to bring attention to the ticket I've just created on potential
performance improvements when it comes to Loans.
https://issues.apache.org/jira/browse/FINERACT-1496

I've tried to write everything down into the ticket but let me try to sum
it up here.
Turns out the Loan entity has an EAGER relationship to the
LoanCollateralManagement entity which goes on and on and on. The full
relationship chain is Loan -> LoanCollateralManagement ->
ClientCollateralManagement -> CollateralManagementDomain ->
ApplicationCurrency

These are all eagerly loaded relationships which definitely hurts the
performance to some degree.
I'm proposing that we shall take a look at it and potentially switch from
EAGER fetching to LAZY fetching hence making sure that the data gets loaded
only when it's required.

Let me know your thoughts.

Best,
Arnold

Reply via email to