Ben
03/10/2024, 12:42 AMLookupResources
between 2 ZedTokens or between a given ZedToken and now (with the response giving me the new ZedToken)?
There is always the approach of doing 2 calls to LookupResources
and comparing the results, however this is less than ideal for a variety of reasons: there are edge cases where that call can have a relatively high latency, it feels like a waste when SpiceDB technically has all the information needed to compute the diff changes internally, and more importantly to make sure I don’t miss any changes when making consecutive calls I would need to specify a at_exact_snapshot
consistency which isn’t great if I need a relatively high throughput on that endpoint.
Is there anything I can use today to address that scenario and/or is this something Materialize can help with?