Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Bulk Upload and Download APIs #1303

Closed
jakedt opened this issue May 5, 2023 · 1 comment
Closed

Proposal: Bulk Upload and Download APIs #1303

jakedt opened this issue May 5, 2023 · 1 comment
Labels
area/api v1 Affects the v1 API area/api v2 Affects the v2 API area/perf Affects performance or scalability

Comments

@jakedt
Copy link
Member

jakedt commented May 5, 2023

Currently the only way to write data to SpiceDB is with the WriteRelationships API, and the only way to read relationships is the ReadRelationships API. These APIs are designed around OLTP use-cases, and are not suitable for bulk reading and writing of data. Use-cases like backup and restore, and backfill require a large amount of relationships to be accessed at once.

We should explore adding more performant APIs for these bulk operations to facilitate these use cases.

@jakedt jakedt added area/perf Affects performance or scalability area/api v1 Affects the v1 API kind/proposal Something fundamentally needs to change labels May 5, 2023
@josephschorr
Copy link
Member

These APIs are now experimentally exposed via the experimental service: https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.ExperimentalService

See #1326 and #1281

@josephschorr josephschorr added area/api v2 Affects the v2 API and removed kind/proposal Something fundamentally needs to change labels Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api v1 Affects the v1 API area/api v2 Affects the v2 API area/perf Affects performance or scalability
Projects
None yet
Development

No branches or pull requests

3 participants