When Service A receives a message from Service Consumer A(1),the message is processed by Component A . This component first invokes Component B (2), which uses values from the message to query Database A in order to retrieve additional data. Component B then returns the additional data to Component A . Component A then invokes Component C (3), which interacts with the API of a legacy system to retrieve a new data value. Component C then returns the data value back to Component A . Next, Component A sends some of the data it has accumulated to Component D (4), which writes the data to a text file that is placed in a specific folder. Component D then waits until this file is imported into a different system via a regularly scheduled batch import. Upon completion of the import, Component D returns a success or failure code back to Component A . Component A finally sends a response to Service Consumer A (5) containing all of the data collected so far and Service Consumer A writes all of the data to Database B (6). Components A, B, C . and D belong to the Service A service architecture. Database A, the legacy system, and the file folders are shared resources within the IT enterprise.
Service A is a task service that completes an entire business task on its own without having to compose other services. However, you have received many complaints about the reliability of Service A . Specifically, it has three problems. First, when Component B accesses Database A, it may not receive a response for several minutes when the database is being accessed by other applications in the IT enterprise. Secondly, the legacy system accessed by Component C frequently crashes and therefore becomes unavailable for extended periods of time. Third, for Component D to respond to Component A, it must first wait for the batch import of the files to occur. This can take several minutes during which Service Consumer A remains state ful and consumes excessive memory. What steps can be taken to address these three problems?
Not sure if the Service Data Replication pattern is enough to solve the problem.
AN
Annelle12 months ago
The Event-Driven Messaging pattern seems like a solid approach!
TA
Tawna12 months ago
Wait, are we really trusting a legacy system? That sounds risky.
BR
Brendan1 year ago
I agree, separating components could really help with reliability!
RU
Ruby1 year ago
Sounds like a classic case of database bottleneck issues.
AN
Anika1 year ago
I’m leaning towards option B, but I’m not completely confident. I just hope I can remember the details about Reliable Messaging when I need to explain it.
LO
Lonny1 year ago
The Asynchronous Queuing pattern sounds familiar, but I’m not clear on how it would work with the legacy system. I feel like I’ve seen a similar question in practice exams.
PA
Paola1 year ago
I think the Service Data Replication pattern could really help Component B, but I’m a bit confused about how to implement it effectively.
NO
Nobuko1 year ago
I remember studying the Legacy Wrapper pattern, but I'm not entirely sure how it would help with the database access issue.
MA
Marci1 year ago
I'm feeling pretty confident about this one. The key is to automate as much of the setup process as possible, so the configuration of the TAS using scripts and having the components under configuration management are the most important aspects. The other options, while potentially useful, don't seem as directly relevant to the goal stated in the question.
MA
Magda1 year ago
Creating key messages is important, but I don't think that's the main concept the circular models reinforce. I'm leaning towards option D.
LE
Lenny1 year ago
I think I've seen something about broadcasts being forwarded through multicast addresses, but I'm not entirely sure which answer refers to that.
MY
Myrtie1 year ago
Based on what I know about network architecture, I think the bastion host is the answer here. It's the computer that's directly exposed to the internet and has to be hardened against attacks. Gotta protect that entry point!
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