I started four processes
I used the publish and subscribe function of Redis.
After a request arrives, I will notify all the functions in the process ->'func X 'to do something.
How do I know that ‘X’ in these four processes has been executed?
I want to insert some data into the database when the execution is complete. If I do not know the end status, I will have the problem of repeated inserts.
Please, this is very important to me We look forward to your help!