Skip to content

[Feature] Istio v1 Mixer quota management service integration #1234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sczyh30 opened this issue Jan 7, 2020 · 1 comment
Closed

[Feature] Istio v1 Mixer quota management service integration #1234

sczyh30 opened this issue Jan 7, 2020 · 1 comment
Labels
area/cloud-native Issues or PRs related to cloud native architecture area/cluster-flow Issues or PRs related to cluster flow control kind/feature Category issues or prs related to feature request.

Comments

@sczyh30
Copy link
Member

sczyh30 commented Jan 7, 2020

Issue Description

Type: feature request

Describe what feature you want

Istio’s Mixer component is responsible for policy controls and telemetry collection. Currently Istio performs rate-limiting for services in the Mixer. Istio provides mechanisms to add customized adapters to the Mixer, so that Istio could leverage external components to do policy controls. There're several kinds of adapters in Istio, and the quota management adapter is designed for flow control. The related template:

Istio supports Mixer Out Of Process Adapter, which uses gRPC server as the adapter implementation. For qouta management:

// HandleQuotaService is implemented by backends that wants to handle request-time 'quota' instances.
service HandleQuotaService {
    // HandleQuota is called by Mixer at request-time to deliver 'quota' instances to the backend.
    rpc HandleQuota(HandleQuotaRequest) returns (istio.mixer.adapter.model.v1beta1.QuotaResult);

}

We may leverage the quota management gRPC service to do flow control and adaptive traffic shaping for the Istio service mesh with Sentinel. Discussions are welcomed!

@sczyh30 sczyh30 added kind/feature Category issues or prs related to feature request. area/cluster-flow Issues or PRs related to cluster flow control area/cloud-native Issues or PRs related to cloud native architecture labels Jan 7, 2020
@sczyh30
Copy link
Member Author

sczyh30 commented May 13, 2020

The Mixer might have been deprecated since Istio 1.5.x, so we'll not work on this issue. We may leverage Sentinel Go version to develop Envoy WASM plugin to provide flow control support for Istio+Envoy. Refer alibaba/sentinel-golang#104

@sczyh30 sczyh30 closed this as completed May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cloud-native Issues or PRs related to cloud native architecture area/cluster-flow Issues or PRs related to cluster flow control kind/feature Category issues or prs related to feature request.
Projects
None yet
Development

No branches or pull requests

1 participant