Hello!
I’m a new in temporal apologize if it’s a duplicated topic
I’m considering using temporal for my project but I faced with one obstacle.
Context:
There is a group of workflows/applications:
-
File processing workflow - parse the file, save records to DB and pass the processed record to another workflow (file could contain millions of records)
-
Record processing workflow - process record with specific business logic and create or put to record group, each record group is stored in DB
Record processing flow processes ONLY by one record -
Group processing workflow - process group with specific business logic, group processing can not start until all records are processed
Problem:
The problem is here that mechanism with trigger of group processing workflow is absent because group processing can not start until all records are processed.
I considered to use child workflows where parent workflow triggers above workflows.
However temporal has a limitation - 50k events per workflow but file can contain hundred thousands or millions of records.
Is it possible to overcome this problem with child workflows?
Maybe temporal has another orchestration mechanism for such cases?