Joseph Schorr

Results 278 comments of Joseph Schorr

@mohsen3 Given the restrictions of roaring bitmaps, we're unsure if they will be part of the API

@akon-dey I'd be happy to rebase my changes, but be aware we've moved to the github.com/outcaste-io/ristretto fork, which fixed the issue as well. This is partially why we stopped asking...

@gaby This PR sat for quite a while, so we used our own fork during that time. Once github.com/outcaste-io/ristretto became available, we tested it for the fix, found it worked,...

> Alternatively/additionally, the existing [Consistency](https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.Consistency) parameter for SpiceDB operations could be modified to allow passing in a list of ZedTokens for at_least_as_fresh (so the operation would be performed on data...

@croemmich can you expand on why, exactly, your middleware layer needs to compare ZedTokens at all? If you are storing a ZedToken for an updated object, then at least as...

My concerns with this idea are two-fold: 1) `count(*)` operations can be *extremely* heavy on databases, especially in CRDB where they are [essentially linear](https://github.com/cockroachdb/cockroach/issues/7825). I believe this would be somewhat...

So it occurred to us that the https://github.com/authzed/spicedb/issues/1785 issue might be an avenue to solve this problem: 1. We add a registration API called `TrackRelationshipCount` (and `UntrackRelationshipCount`) that takes in...

Codifying this into a proposal: # CountRelationships Proposal Add the ability to track and retrieve the count of relationships based on registered filters in SpiceDB. This will be used both...

> Do you anticipate having any kind of guardrails in terms of the number of relationship counters that can be registered at a given time. Yes, there will likely be...

@theronic https://github.com/authzed/spicedb/tree/main/pkg/diff has a diff package which can be used after parsing the schema SpiceDB always returns the normalized, ordered schema and that won't be changing; we don't store the...