Reputation: 119
Migration from a Monolith to a Microservice architecture. I'm having a hard time understanding the architeture so I'd need your feedbacks on the questions asked below.
QUESTIONS:
API-two
wait for the response from the caller API-One
in Synchronous Microservice Architecture.API-Two
via Api-One
, can API-Two
directly connect to the client with a response.Thank you.
Upvotes: 2
Views: 278
Reputation: 1082
if you want use SIGNAL-R
I think SignalR shouldn't be used in this scenario as it's more to sendiing responses from server to multiple clients
no the signal-R is also used to send push notification to specific user with specific data. like notifications in any user-panel that could be notifies a group of users or specific user or chat application.
if you can persist pdf some where
if you can persist data some where
when it comes to event-driven base communication you have in mind that the fault may happen and you need to control it since the api one is already acknowledged and dont have any idea (SAGA).
Upvotes: 3