Service A is a task service that is required to carry out a series of updates to a set of databases in order to complete a task. To perform the database updates Service A must interact with three other services, each of which provides standardized data access capabilities. Service A sends its first update request message to Service B (1), which then responds with a message containing a success or failure code (2). Service A then sends its second update request message to Service C (3), which also responds with a message containing a success or failure code (4). Finally, Service A sends a request message to Service D (5), which responds with its own message containing a success or failure code (6).
You've been given a requirement that all database updates must either be completed successfully or not at all. This means that if any of the three response messages received by Service A contain a failure code, all of the updates carried out until that point must be reversed. Note that if Service A does not receive a response message back from Services B, C, or D, it must assume that a failure has occurred. How can this service composition architecture be changed to fulfill these requirements?
None of the above seems too extreme; there's gotta be a better way!
LO
Lovetta12 months ago
Wait, what if one service is down? How does that fit into the plan?
LE
Leontine1 year ago
Compensating Service Transaction? Seems a bit complicated for this scenario.
AN
Annabelle1 year ago
I agree, but the Atomic Service Transaction approach seems more straightforward.
MI
Miss1 year ago
The Reliable Messaging pattern sounds solid for ensuring updates are acknowledged.
GR
Gracie1 year ago
This seems like a straightforward question about the demo process. I'm pretty confident I can identify the two correct activities.
NA
Natalie1 year ago
Whoa, I didn't even think about the security settings in IE. That's a good point, but I'm not sure if that's the best overall approach. Gotta think this through a bit more.
LA
Lauran1 year ago
Hmm, I'm not entirely sure how to approach this one. I'll need to think carefully about the different aspects of compensation that individual contributors might be most interested in.
LY
Lynelle1 year ago
Hmm, this is a tricky one. I'm not super familiar with the technical networking terms used here. I'll have to think it through step-by-step and see if I can eliminate some of the options.
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login