-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Asynchronous Calls instead of sync when doing Network calls #76 #209
Use Asynchronous Calls instead of sync when doing Network calls #76 #209
Conversation
For initial review: Otherwise, content/structure looks good. The referenced existing Cloud Pattern "Optimize average CPU utilization" seems to act as a parent pattern to this one, however I think this pattern may be better suited for the Web section, what do you think @markus-ntt-seidl |
I, Markus Seidl <[email protected]>, hereby add my Signed-off-by to this commit: 374d867 I, Markus Seidl <[email protected]>, hereby add my Signed-off-by to this commit: 6e11cf0 I, Markus Seidl <[email protected]>, hereby add my Signed-off-by to this commit: 76a52d8 I, Markus Seidl <[email protected]>, hereby add my Signed-off-by to this commit: 9a1c334 Signed-off-by: Markus Seidl <[email protected]>
Thanks for your feedback. Here is my reasoning why I think it's cloud: Web is by default async and it's hard (if not impossible) to do synchronous calls in the browser.
Without any dependencies between A and B this can be easily done async. One thing that happens in web often is call chaining ( the result-promise of service A would then call service B if A is done). For this there is already a pattern in web to improve this (Avoid chaining critical requests). |
@markus-ntt-seidl ok thank you for explaining - Cloud sounds good. |
Completed SME review. The content looks good, thanks! |
Conversion of #76 as the owner seems to have problems with PRs to this repository.
Added the flavour of #108 and made it a cloud pattern, added consideration to cover both.