Question: What is the fault tolerance strategy that the spring package supports? It is necessary to focus on the use of resources, the failover mechanism. Any suggestions?
Usecase - spring, you must run the package to read the file (which will be placed on the server by another application) from the server and process it.
The environment is clustered. Thus, there may be several server instances that can run batch jobs, trying to read the same file upon arrival.
My thoughts. Polling can be performed to check the arrival of the file and invoke the batch job spring. Since it is grouped, we can use an active / passive strategy for polling. Other types can also be used, such as a rounded or temporary slice.
Forgive me if I do not know. I can explain if something is unclear.
source
share