July 2019
Intermediate to advanced
502 pages
14h
English
One of the most common approaches is to implement all these concerns in a library or a set of libraries. All the microservices include or depend on the shared library that takes care of all these cross-cutting aspects, such as configuration, logging, secret management, tracing, rate limiting, and fault tolerance. This sounds great in theory; let the services deal with the application domain and let a shared library or libraries deal with the common concerns. Hystrix from Netflix is a great example of a Java library that takes care of managing latency and fault tolerance. Finagle from Twitter is another good example of a Scala library (targeting the JVM). Many organizations ...