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

Stream results out of rest api. #382

Merged
merged 2 commits into from
Feb 22, 2020
Merged

Stream results out of rest api. #382

merged 2 commits into from
Feb 22, 2020

Conversation

gmokki
Copy link
Member

@gmokki gmokki commented Feb 20, 2020

The main table query is still done synchronously, but additional queries are done on the stream lowering latency.
Should help with explorer UI, especially if it is later updated to process results lines as they arrive.

…ncrhonously, but additional queries are done on the stream lowering latency
@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 85.515% when pulling 6083e1d on stream-query-results into 9713b0a on master.

3 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 85.515% when pulling 6083e1d on stream-query-results into 9713b0a on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 85.515% when pulling 6083e1d on stream-query-results into 9713b0a on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 85.515% when pulling 6083e1d on stream-query-results into 9713b0a on master.

@jsyrjala
Copy link
Member

Looks good to me.

I think this will not actually speed up UI that much, since it will wait until it has received the whole JSON before showing anything.

@jsyrjala jsyrjala self-requested a review February 21, 2020 14:32
@gmokki gmokki merged commit 74c0ad8 into master Feb 22, 2020
@gmokki gmokki deleted the stream-query-results branch February 22, 2020 09:25
gmokki added a commit that referenced this pull request Feb 22, 2020
* Stream results out of rest api, lowering latency to first item. The main table query is still done synchronously, but additional queries are done on the stream lowering latency
* Performance is only lightly improved due to lower memory usage
gmokki added a commit that referenced this pull request Feb 22, 2020
* Stream results out of rest api, lowering latency to first item. The main table query is still done synchronously, but additional queries are done on the stream lowering latency
* Performance is only lightly improved due to lower memory usage
gmokki added a commit that referenced this pull request Feb 25, 2020
* Stream results out of rest api, lowering latency to first item. The main table query is still done synchronously, but additional queries are done on the stream lowering latency
* Performance is only lightly improved due to lower memory usage
gmokki added a commit that referenced this pull request Mar 5, 2020
* Stream results out of rest api, lowering latency to first item. The main table query is still done synchronously, but additional queries are done on the stream lowering latency
* Performance is only lightly improved due to lower memory usage
gmokki added a commit that referenced this pull request Apr 18, 2020
* Stream results out of rest api, lowering latency to first item. The main table query is still done synchronously, but additional queries are done on the stream lowering latency
* Performance is only lightly improved due to lower memory usage
gmokki added a commit that referenced this pull request Apr 27, 2020
* Stream results out of rest api, lowering latency to first item. The main table query is still done synchronously, but additional queries are done on the stream lowering latency
* Performance is only lightly improved due to lower memory usage
gmokki added a commit that referenced this pull request Apr 27, 2020
* Stream results out of rest api, lowering latency to first item. The main table query is still done synchronously, but additional queries are done on the stream lowering latency
* Performance is only lightly improved due to lower memory usage
gmokki added a commit that referenced this pull request Jan 23, 2022
* Stream results out of rest api, lowering latency to first item. The main table query is still done synchronously, but additional queries are done on the stream lowering latency
* Performance is only lightly improved due to lower memory usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants