Related patterns

Following are the related cloud design patterns which can be used in conjunction with this pattern:

  • Compensating Transaction pattern: If a subordinate is unable to complete operation, the supervisor Actor may message other subordinates to undo any work that they have previously performed.
  • Remindable Actors pattern: A supervisor can request subordinate instances to queue tasks to be performed by them by messaging the task to themselves. This frees the supervisor to allocate tasks to other subordinates. This pattern also helps supervisor monitor latency of subordinates as previously discussed.
  • Circuit Breaker pattern: A subordinate can use this pattern to handle faults that may take a variable amount of time to rectify when connecting to a remote service or resource.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset