On one hand, because Child Workflow Executions have their own Event Histories, they are often used to partition large workloads into smaller chunks. For example, a single Workflow Execution does not have enough space in its Event History to spawn 100,000 Activity Executions. But a Parent Workflow Execution can spawn 1,000 Child Workflow Executions that each spawn 1,000 Activity Executions to achieve a total of 1,000,000 Activity Executions.
However, because a Parent Workflow Execution Event History contains Events that correspond to the status of the Child Workflow Execution, a single Parent should not spawn more than 1,000 Child Workflow Executions.
I want to create a schedule to trigger a workflow that will fetch N amount of records that will be used by other workflow, the amount of record is around 200k, so I had the idea to create parent workflow that triggers child workflow to process each record, I do not need to wait or register events related with the child workflows in the parent workflow.
base in the documentation
a single Parent should not spawn more than 1,000 Child Workflow Executions, could I trigger all (200k) child workflows without have issues in the storage of the parent?
Anyway I was thinks to trigger the events from a external service as a k8s cronjob but i want to try to figure out if i can do this triggering using temporal.