79305757

Date: 2024-12-24 13:58:28
Score: 1.5
Natty:
Report link

"How to reassign a task if the server executing it dies? If the server dies, it can't mark the task as open. What are efficient ways to accomplish this?"

If decentralized, you have to work with consensus, if a central (master) server instance is in place, it is the one that is the master who is distributing jobs. So this server is the one to decide if a job has completed or not right?

Simplify the complex problem as much as you can, in other words what you're doing is simply scheduling tasks to nodes. Add:

Based on these, your central server will know if the node executing went offline, and ensure tasks execution is rotated across the available nodes.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: menelique777