cross-cutting concern

A need that applies across many services or endpoints, such as authentication, rate limiting, logging or TLS, rather than to one feature.

In more detail

Handling such concerns once, at a shared boundary, avoids duplicated rules that drift apart; resource-specific decisions stay with the service that owns the resource. Gateways, middleware and shared libraries are common places to implement them.

Related terms

Taught in

References