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

Support chunked responses #2142

Merged
merged 10 commits into from
Apr 2, 2015
Merged

Support chunked responses #2142

merged 10 commits into from
Apr 2, 2015

Conversation

otoolep
Copy link
Contributor

@otoolep otoolep commented Apr 1, 2015

No description provided.

pauldix and others added 7 commits April 2, 2015 15:22
Refactored query engine to have different processing pipeline for raw queries. This enables queries that have a large offset to not keep everything in memory. It also makes it so that queries against raw data that have a limit will only p
rocess up to that limit and then bail out.

Raw data queries will only read up to a certain point in the map phase before yielding to the engine for further processing.

Fixes #2029 and fixes #2030
@otoolep
Copy link
Contributor Author

otoolep commented Apr 2, 2015

@pauldix

@otoolep
Copy link
Contributor Author

otoolep commented Apr 2, 2015

@corylanou @benbjohnson

@otoolep
Copy link
Contributor Author

otoolep commented Apr 2, 2015

@corylanou -- this is basically the same as before, and I am copying @benbjohnson since he was copied previously.

@otoolep otoolep force-pushed the chunked-responses-2 branch 3 times, most recently from a1e0a7b to 42ee6f4 Compare April 2, 2015 22:40
@otoolep
Copy link
Contributor Author

otoolep commented Apr 2, 2015

OK, there is 1 final failure here -- I need to deal with chunking correctly. I've fixed the incorrect splitting into separate rows, but the fix is not quite right.

@otoolep otoolep force-pushed the chunked-responses-2 branch from 42ee6f4 to bc3bef6 Compare April 2, 2015 23:00
@otoolep otoolep force-pushed the chunked-responses-2 branch from bc3bef6 to 41c59dd Compare April 2, 2015 23:01
@pauldix
Copy link
Member

pauldix commented Apr 2, 2015

Looks good, what's the last thing?

@otoolep
Copy link
Contributor Author

otoolep commented Apr 2, 2015

Didn't quite get chunking right. Kicked the build again, because of a known race in the Raft code (which I need to look into).

@otoolep
Copy link
Contributor Author

otoolep commented Apr 2, 2015

I will merge on a green build.

otoolep added a commit that referenced this pull request Apr 2, 2015
@otoolep otoolep merged commit f787755 into master Apr 2, 2015
@otoolep otoolep deleted the chunked-responses-2 branch April 2, 2015 23:10
mark-rushakoff pushed a commit that referenced this pull request Jan 11, 2019
fix(http): replace default-404 handler with custom-404 handler
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.

2 participants