Discuss how to handle async raft_helper function calls in NodeProcess. We require it to modify state, get leader information, etc. But we cannot make Thread run() async directly. Also ideally speaking we should not be executing all NodeProcesses in the same event loop as it involves a barrier-like construct await and makes our system not truly multi-process based.
@raokrutarth Since you're the most familiar with asyncio and implemented the original design, do you have any suggestions on how to proceed? Or hopefully, if there's a super simple solution for this which I overlooked?
Discuss how to handle async raft_helper function calls in NodeProcess. We require it to modify state, get leader information, etc. But we cannot make Thread run() async directly. Also ideally speaking we should not be executing all NodeProcesses in the same event loop as it involves a barrier-like construct await and makes our system not truly multi-process based.
@raokrutarth Since you're the most familiar with asyncio and implemented the original design, do you have any suggestions on how to proceed? Or hopefully, if there's a super simple solution for this which I overlooked?