grpc / grpc/grpc-java

Ensure there is at most a single pending authorization check per (uid, serviceName) pair at any given time.

Open
#10,669 0 comments 0 reactions 0 assignees View on GitHub
binder enhancement
Dominant language
Java
Stars
12.1k
Forks
4k
Avg merge
2d 17h
Merged PRs (30d)
37

Description

**TODO** follow-up from [this conversation](https://github.com/grpc/grpc-java/pull/10633#discussion_r1384267825).

#10566 introduced asynchronous authorization checks. Previously, when there were only synchronous policies, the number of concurrent checks was naturally limited by the number of threads in the fixed-size executor they ran on. Now, the system just spawns new checks as requests come, so this leads to an unbounded number of checks.

This issue is currently mitigated by the fact that most requests should use caching, but we should still improve it for the rest.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.