-
Notifications
You must be signed in to change notification settings - Fork 0
Media upload and message support #3
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
base: main
Are you sure you want to change the base?
Conversation
Related PR: |
proto/blob/v1/blob_service.proto
Outdated
message UploadRequest { | ||
common.v1.UserId owner_id = 1; | ||
BlobType blob_type = 2; | ||
bytes raw_data = 3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that max gRPC message size is 4MB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, that is probably fine for the non-chunked flow. I don't think we should increase that. Also, clients should probably add some kind of compression on their end as well to reduce network latency to the server.
@@ -0,0 +1,39 @@ | |||
syntax = "proto3"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, I think everything looks good. Probably just need to add proto validation to the applicable fields.
@jeffyanta take a look and let me know if you would make any changes here.
I threw in audio/video just to try to get a feel for what it might require if we ever go down those paths. Not going to implement those now.
Roughly chasing after this:
