Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    "The car dealership is meant to be the single source of truth about which cars are currently in production" -- That seems odd; car dealerships are usually a sales function; I wouldn't typically expect it to be the authority for scheduling of production-line manufacturing, however the business model above seems to be missing a 'command-and-control' function to orchestrate and schedule the use/allocation/timing of jobs and resources -- Production lines generally aren't composed of autonomous units; I would usually expect decision-making to be separate from the work itself. Commented Aug 2, 2022 at 7:13
  • It seems because I made up a largely invalid example I guess :D I am struggling to find a good analog for my actual use case. The point I wanted to make was that there is one service that indicates to all other services that they should be working on task XY at the moment. This service needs to be sure that the other services are really doing their job in case they are alive (assume there are heartbeat mechanisms taking care of this separately). Commented Aug 2, 2022 at 7:39
  • The big problem with my example is that the processes I used are finite, while in the actual use case the services would work on their sub-task indefinitely until the "car dealership" indicates that the overall task is finished. Commented Aug 2, 2022 at 7:40
  • @BenCottrell Please see my edit, I hope it makes more sense now. Commented Aug 2, 2022 at 8:18
  • your problem is unclear. everything just works assuming the task manager requests parts from the various microservices? Commented Aug 2, 2022 at 9:34