-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: multiple consistency levels for authz checks
So far frontier was either using no consistency level from spicedb which defaults to prioritise minimum latency with minimal consistent results as well. Other was fully consistent calls which provide the most accurate authz resolution but takes substential latency hit. A middle ground is introduced now that caches the zookie generated during the last fully consistent check and uses that in all but Check calls. This should speed up Lookup/List calls for authz. Existing config `fully_consistent` is now deprecated in favor of new consistency level. ``` spicedb: # consistency ensures Authz server consistency guarantees for various operations # Possible values are: # - "full": Guarantees that the data is always fresh although API calls might be slower than usual # - "best_effort": Guarantees that the data is the best effort fresh [default] # - "minimize_latency": Tries to prioritise minimal latency consistency: "best_effort" ``` Signed-off-by: Kush Sharma <[email protected]>
- Loading branch information
1 parent
ed04b6c
commit ce441ea
Showing
7 changed files
with
111 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters