Ideas to implement when using service meshes
To end this chapter, here are some ideas of how you can get the advantages of using service meshes at the edge. These ideas are not specific to the edge and could be used in a common infrastructure:
- Implement rate limits: You can use a service mesh to configure some rate limits in your applications, managing in this way how much input traffic is accepted. There are some awesome projects to implement this, including Linkerd and Envoy-based service meshes such as Istio and Ambassador.
- Traffic splitting: You can use this feature of service meshes to implement blue/green deployments and canary deployments; an example of this is the implementation of Argo Rollouts, which can use Linkerd to implement this kind of deployment strategy. You can also implement some chaos engineering tests using service meshes.
- Security policies: You can use service meshes to restrict traffic and encrypt end-to-end traffic. This could be useful to increase...