backing service

Any service an application uses over the network, such as a database, cache, queue, mail relay or payments provider.

In more detail

Factor IV of the twelve-factor app: treat backing services as attached resources. The code makes no distinction between local and third-party services; each is reached through a handle in config and can be attached, replaced or detached without a code change. Swapping a local database for a managed one should be a change to one environment variable.

Related terms

Taught in

References