I am working on a project where I have to call three different systems, fetch data and save in cache. (Some processing after it) This call does not need to be sequential. Rather, all three systems are independent and there is no common data. There is no need of passing value from one system to other system. It's simple three API calls.
But the catch is - there could be more systems / api to be called in future and it may go up to 10. Also, there could be more data to be fetched / more than one call per downstream system in future. For calling 10 different systems , fetching the data and storing in cache, I am thinking of putting some common design/ config , so that it would be extensible and readable.
It seems "independent work flow" may fit my solution. I have gone through this page . But I can't find example of independent work flow. Could anyone help me with it. Or, if anyone can think of better design for this, please let me know. Thank you.
Aucun commentaire:
Enregistrer un commentaire