-
Notifications
You must be signed in to change notification settings - Fork 6
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
summary mode implementation #6
Comments
Would you want a minimized version of each image in this sample summarization ? Could there be many levels of "summarization" ? What about using some kind of pagination like some database do ? |
With "sampleRange" view
It should be possible to apply whole-json diffs intelligently against this type of object, while maintaining a small payload.
The payload problem becomes a big problem with full pixel segmentation, we're noticing collaborative sessions with 200 samples go above 5mb and slow down everything. |
One argument to support summarized samples (i.e. |
I would not recommend variable summary levels for the first PR, though I think this will be easy to do after the foundation is in place. |
We're continuing to take a look at this: This Summary Object is a good pick for the first version {
"interface": { /* ... */ },
"summary": {
"samples": [
{ "state": "complete", version: 32 }
// ...
]
}
} {
"interface": { /* ... */ },
"summary": {
"samples": [
{ "state": "complete", version: 32 }
// ...
]
}
} |
In relation to RFC: Supporting Large Datasets. The collaboration server should minimize payloads by returning "sampleSummary" which contains enough information to display aggregate data on samples, but not enough information to view the sample. When the collaborative session is started in
summarizeSamples
mode, instead of returningudt_json
that looks like this:It returns a
SummarizedUDTObject
that looks like the following:The
summarizeSamples
mode should be a column on the session table and a POST body parameter toPOST /api/session
.Diffs should be run against
sampleSummary
instead ofsamples
insummarizeSamples
mode.The text was updated successfully, but these errors were encountered: