nagisa-kunhah opened a new pull request, #26:
URL: https://github.com/apache/dubbo-go-extensions/pull/26

   ## Summary
   
   Migrate the server-side adaptive service throttling implementation into 
`dubbo-go-extensions`.
   
   This PR includes:
   
   - Provider adaptive service filter registered with key `padasvc`
   - Hill-climbing limiter implementation
   - Method-level limiter mapper
   - Shared internal adaptive service constants and error helpers
   - Provider-side adaptive service documentation
   
   The provider filter keeps the same behavior as the existing dubbo-go 
implementation:
   
   - It only enables adaptive throttling when the invocation contains 
`adaptive-service.enabled=1`
   - It rejects requests when the limiter reaches capacity
   - It stores the limiter updater on the invocation attributes
   - It updates limiter state on response
   - It returns provider capacity through `adaptive-service.remaining` and 
`adaptive-service.inflight`
   
   Consumer-side cluster, local metrics, and P2C load balancing are 
intentionally left out of this PR and will be handled separately.
   
   ## Tests
   
   Passed:
   
   ```bash
   go test ./filter/adaptivesvc/...
   go test ./...
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to