Hi there!
I need to implement a converter that loads users from a DB and then invokes vendor's web services for each user. Number of users is around 100K. Each web service call takes about 1.5 sec. Time that I have to convert all users is 1 hour.
Is there any way to do this?
Are there any approaches or design
patterns to implement a converter like this?
I believe I need to split data into chunks and process them in multiple threads. But how to better do this?
Also, I had some OOM issues when I spawned 15 threads in a similar conversion before. Is there any way to avoid OOM?
Thank you