-
"Fault tolerance leverages different strategies to guide the execution and result of logic": What do we mean by "result of logic"?
-
"Use the Retry policy to fail quickly and recover from brief intermittent issues. An application might experience these transient failures when a microservice is undeployed, a database is overloaded by queries, the network connection becomes unstable, or the site host has a brief downtime. In these cases, rather than failing quickly on these transient failures, the Retry policy provides another chance for the request to succeed. Simply retrying the request might be all you need to do to make it succeed": What is "the Retry policy" here? Are we talking about generic retry capabilities or we are referring to something specific from MicroProfile or Istio?
-
"Fallback offers an alternative result when an execution does not complete successfully": "Alternative result"? It should be more an alternative execution path or option?
-
"You will create a microservice ecosystem demonstrating MicroProfile Fault Tolerance with Istio fault handling": What do we mean by "microservice ecosystem"? I will use a simpler term.
-
"Both libraries can be enabled when you want your microservices to have a service mesh architecture with Istio, and use MicroProfile to provide the extra fault tolerance policies that do not exist within Istio": Are they actually "libraries" that can be enabled?
-
"However, microservices that have the same fault tolerance policy enabled by both MicroProfile and Istio will have a behaviour that is not as expected": What does it mean by "behaviour that is not as expected"? This seems to be contrary to what the guide is trying to convey i.e. MicroProfile and Istio can work together?
-
"The Host header of your system service and inventory service to be system.example.com and inventory.example.com, respectively": Missing a verb or something with this sentence?
-
"Now you will make the system service unavailable and MicroProfile’s Retry policy will be performed": Consider something like "... and observe that MicroProfile's Retry policy will take effect"?
-
"However, the request was retried several times with MicroProfile @Retry before failing": Consider "... retried several times as per what is specified by MicroProfile @Retry annotation ..."?
-
"After integrating an Istio Retry policy into your microservices, deploy your microservices again": We aren't integrating Istio Retry policy into the microservices here? We are specifying what we need Istio to do?
-
"Later, you will disable some of MicroProfile’s capabilities, to have your system service retry with only Istio’s Retry policy": Not sure if we really need this sentence. If we do keep it, I will change "Later" to "Next" and clarify that that they are "MicroProfile Fault Tolerance capabilities"?
-
"When microservices have the same fault tolerance policy enabled by both MicroProfile and Istio, the behaviour of the policy is not as expected": I will rephrase this. Perhaps consider something like "When we have both MicroProfile and Istio fault tolerance capabilities enabled, there is a compounding effect that may be unexpected".
-
"The microservice actually multiplies the number of MicroProfile and Istio retries": It's not the microservice that is multiplying the retries. This sentence needs to be rewritten.
-
"In the case that you want your microservices to use a service-mesh architecture, such as Istio, and use it’s fault handling without interfering with the service’s MicroProfile capabilities, you can use a config property offered by MicroProfile.": "In the case that you want to use Istio as your service mesh and its fault tolerance capabilities, you can turn off MicroProfile Fault Tolerance via a property to avoid any overlap in behaviours."
-
"MP_Fault_Tolerance_NonFallback_Enabled is set to false, all of the MicroProfile annotations, including @Retry, will be switched off and only keep @fallback available to use": It's not so much that the annotations are switched off. They are still there but the specified behaviours won't take effect since the runtime will follow what is specified by the property i.e. turn those off.
-
"The MP_Fault_Tolerance_NonFallback_Enabled config property must be defined in a ConfigMap": It is not a must to define this in a ConfigMap. Then, since we are operating in a Kube environment, doing this is the natural way. See the guide on Kube and MicroProfile Config.
-
"Deploy your microservices again to turn off all MicroProfile capabilities, except fallback": We need to be careful. It isn't "all MicroProfile capabilities" but the Fault Tolerance ones minus fallback.
-
"Since retrying the requests to your system service is still not successful, you need a plan to "fall back" on when the requests fail. You will create a fallback method to deal with the failed requests to your system service": Consider something like "Since retrying the requests to the system service still does not give you success, you need a "fall back" plan. You will create a fallback method as an alternative solution when the strategy to retry requests to the system service failed".
-
"As mentioned before, Istio does not offer any fallback capabilities, and so the MicroProfile @fallback annotation must be used to add fallback to your microservices": Considering something like "... Istio does not offer any fallback capabilities, so MicroProfile Fallback capability can be used to complement it".
-
"Rebuild your application and integrate the Fallback policy into your microservices": I find the term "integrate" odd. Consider an alternate term or rephrase.
-
"Deploy your microservices again to turn off all MicroProfile capabilities, except fallback": It is not "all MicroProfile capabilities".
-
Do we need to talk about "x-from-fallback: yes"?