hi all
# spicedb
v
hi all When using the at_least_fresh consistency level with zed_tokens, can I safely increase the cache quantization interval while maintaining consistency and improving response times? The assumption here is that data changes infrequently, so using zed_tokens would still ensure that access checks operate on sufficiently fresh data. Would this approach help reduce load on the database while keeping permission checks performant?
v
@vkololalistar0092 yes, you can increase the quantization window and it would
at_least_as_fresh
will continue to work as intended. Effectively you are increasing the amount of time cache entries are left around. But please note that it means for
minimize_latency
you'll get staler responses. Also it does not prevent cache misses in cases where there are frequent writes.