Backing services
Treat backing services as attached resources.
- Backing service is defined as any service the app consumes over the network in normal operation.
- Datastores (databases, blob storage)
- Messaging/queueing
- Mail (SMTP, IMAP)
- Caching
- Traditionally managed by the same system administrators who deploy compute.
- Increasingly provided by third parties.
- No distinction between local and third-party services.
- They're both just attached resources, accessed via a URL or some other locator using credentials stored in Configuration.
- Resources can be attached to and detached from deploys at will.
- Misbehaving resources can be replaced without changes to code.
References
Backlinks