Policy
最后更新于
最后更新于
Mixer serves as a universal policy control layer between your apps and infrastructure backend, handling fundamental tasks such as preconditional checks (authentication and authorization), quota management, and telemetry data collection from an Envoy proxy.
The Mixer is a highly modular and expandable component. Its critical function is abstracting the complexities of various backend policies and telemetry collection systems, keeping the Istio remainder blissfully uninformed about backend specifics. The Mixer's adaptability to different infrastructure backends is achieved via a generic plugin model. Each plugin, referred to as an Adapter, allows the Mixer to connect with diverse infrastructure backends offering core functionalities like logging, monitoring, quota, ACL checks, etc. Configuration drives the choice of adapter suite used at runtime and facilitates effortless extension towards new or customized infrastructure backends.
In essence, the Mixer is an attribute processing engine wherein incoming requests carry an array of attributes for the Mixer to handle across various stages:
Introduce new attributes to the request via global Adapters
Determine, via resolution, the configuration resources needed for handling the request
Process attributes to generate Adapter parameters
Dispatch the requests to various Adapters for backend processing