galovics commented on PR #2437:
URL: https://github.com/apache/fineract/pull/2437#issuecomment-1193377686

   @awasum That's my mistake. I think somehow I forgot to create a JIRA for 
this although I proposed this change on the devlist. The subject line was 
`Spring Batch integration` and here's the original content:
   ```
   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
   
   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
   ```
   
   I apoligize for not creating the ticket and thanks for @taskain7 doing it on 
my behalf. :-)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to