Thanks Arnold, sound interesting. Is this on the roadmap for Finearct 1.8?
> On 16 May 2022, at 15:04, Arnold Galovics <[email protected]> wrote:
>
> Dear all,
>
> I'd like to introduce you to the idea of enhancing Fineract with the
> capability to handle high-volume batch jobs along with a few other things.
>
> As any financial system, Fineract also supports batch jobs but they're quite
> limited on the data volume it can handle. Currently a batch job is a single
> Java method with loading everything at once and processing that huge chunk of
> data in a single execution step/transaction.
>
> To make Fineract better, we need to alter this simplified framework a little
> bit and introduce something that's more battle-tested: the Spring Batch
> module is here to help.
>
> With introducing Spring Batch into the mix, we'll finally have a chance to
> decouple data reading, processing and data writing that'll finally bring us
> the benefit of making our batch jobs:
> - faster
> - reliable
> - being able to handle huge data volumes
>
> And I'm not gonna just stop there, with Spring Batch in place, we'll be able
> to distribute our batch job workloads into separate JVMs in a scenario where
> we want to run a cluster of Fineract instances to cope with the load.
>
> The next thing to the Spring Batch module integration is the introduction of
> a new batch job, Loan Close Of Business; that'll be the starting point of
> reworking the date handling in Fineract. This job will be simply responsible
> to "close" Loans on a daily basis making sure that interests/fees/etc are
> calculated properly. It's going to be the first full-fledged job that'll be
> able to run in a partitioned mode on a cluster of JVMs and multiple threads.
>
> The job will be rolled out as disabled by default so it won't interfere with
> any existing deployments but if somebody will need it's potential and
> business functionality, they can certainly enable it. Also, there's an
> extensive documentation I already wrote for this; right now it's in PR for
> some review and I'm gonna do a few additional modifications but you can check
> it out here: https://github.com/apache/fineract/pull/2326
> <https://github.com/apache/fineract/pull/2326>
>
> I don't want to repeat everything that's in the PR so if you're curious be
> sure to check it.
>
> TL;DR; Spring Batch is going to be integrated into Fineract. A new batch job
> called Loan Close Of Business will be created along with some additional
> functionality that's described in the PR above.
>
> Best,
> Arnold
>