I would like to build an architecture in which there is main docker that runs all the time and fetch data from database. As soon as it finds old entries, it spawns number of other dockers and provide to each of them list of old entries so that these dockers could run in parallel and execute all required job. E.g. if main docker app detect 100 entries that needs to be updated, it is going to spawn 10 child-containers to concurrently update all the entries in db.
Can you please advise if such architecture is feasible to be implemented in docker / do you have any examples / documentation that you could share.