Forkjoin can solve the following problems:
Simulate the movement of a large number of simple objects, such as particle effects.
Log Robust Analysis
Data Operations counted from input, such as mapreduce operations.
Using the following list to check the Problem and Its subtasks is a practical and effective method. He can determine whether Branch/merge can be used to solve the problem.
Does a problematic subtask not require explicit collaboration or synchronization with other subtasks?
Does a subtask not modify the data, but only get some results after calculation (are they called "pure" functions by function programmers )?
Is it natural for sub-tasks to divide and conquer tasks? Does a subtask create more subtasks, and they have a finer granularity than the ones that give birth to them?
Determine if forkjoin is suitable for solving a problem