BenchCallers
Who the benchmark's clients are; outside development the host wants that said in a bean. Anonymous, unless benchmark.access says otherwise: claims makes every request a teller's, a caller with a subject and a role whose claims travel with each command, and policy also holds the accounts to an access policy the teller passes, so the two compare the write path's cost under a policy. dataset makes every request an analyst's, whose claims name the owners it reads, and holds the accounts to a policy that compares each account's owner with them: the access scale check's (bench.sh measure), where a dataset of the accounts' rows reads them by that comparison.
Functions
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["benchmark.access"], havingValue = "policy")
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["benchmark.access"], havingValue = "dataset")
Link copied to clipboard