Backing services
Backing services are external services used by the application, such as a database, message service, file repository, or email service. The twelve-factor method considers each service that is external to the application as a resource. Each of these resources must be accessed via a URL or location and credentials attributes that are in the app's config. In this way, any changes to a service location—such as the database or file repository—does not impact the application code. The change becomes imperceptible to the code, resulting in a low desired coupling. We can also use abstractions or interfaces to access these services in addition to the app's config.
As a first example, we have the file stored in a repository. Access ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access