Cross-Layers and Off-Layers
In this closing chapter, we will provide an overview of various infrastructure concepts in Rails applications, including logging, monitoring, and exception tracking. We will discuss the benefits of having conventions and cross-layer abstractions to standardize infrastructure management in Rails code bases. Finally, we will talk about how a proper level of abstraction can help to extract low-level implementation from the application to a standalone service.
We will cover the following topics:
- The Rails infrastructure layer and its diversity
- Across the layers – logging and monitoring
- Extracting implementations into services
The goal of this chapter is to get familiarized with the Rails infrastructure layer, learning how adding mediator abstractions on top of low-level implementations can help to improve an application’s maintainability and performance.