-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[bfetch] compress stream chunks #97994
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
Merged
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
173b1b9
Move inspector adapter integration into search source
d3c9dbb
docs and ts
f927075
Merge branch 'master' of github.com:elastic/kibana into search/inspec…
f44c320
Merge branch 'master' of github.com:elastic/kibana into search/inspec…
413b462
Move other bucket to search source
7862457
test ts + delete unused tabilfy function
1bd2887
Merge branch 'master' of github.com:elastic/kibana into search/move-o…
f22bab9
Merge branch 'master' of github.com:elastic/kibana into search/move-o…
b9301dd
hierarchical param in aggconfig.
e88df9d
fix jest
47b9944
separate inspect
b9ce734
jest
2976277
inspector
8d4aafe
Error handling and more tests
f2d202e
Merge branch 'master' of github.com:elastic/kibana into search/move-o…
f5e9a1b
Merge branch 'master' of github.com:elastic/kibana into search/move-o…
c7514ee
put the fun in functional tests
500c226
delete client side legacy msearch code
504d1da
ts
75e3532
Merge branch 'master' of github.com:elastic/kibana into search/remove…
f4b7aa3
Merge branch 'master' of github.com:elastic/kibana into search/remove…
37336f3
Merge branch 'master' of github.com:elastic/kibana into search/remove…
ce1a83a
override to sync search in search source
c7a7827
delete more legacy code
ed547f1
ts
c10110f
delete moarrrr
792e517
Merge branch 'master' of github.com:elastic/kibana into search/remove…
e6212a4
Merge branch 'master' of github.com:elastic/kibana into search/remove…
af896c7
deflate bfetch chunks
dcf5d2e
update tests
2d6192f
ts
44416cb
extract getInflatedResponse
2ad860e
tests
8397d3d
Use fflate in attempt to reduce package size
4523195
Merge branch 'master' of github.com:elastic/kibana into bfetch/compre…
68459e3
Merge branch 'master' of github.com:elastic/kibana into bfetch/compre…
2507bfb
Merge branch 'master' of github.com:elastic/kibana into bfetch/compre…
a88372b
use node streams, fflate and hex encoding.
d5e2e0d
Merge branch 'master' of github.com:elastic/kibana into bfetch/compre…
83e6f61
DISABLE_SEARCH_COMPRESSION UI Settings
096901a
Merge branch 'master' of github.com:elastic/kibana into bfetch/compre…
23d8252
i18n
ad6e056
Code review
c1c9382
use custom headers
b450f23
Update jest
b27d151
fix tests
4881ca6
Merge branch 'master' of github.com:elastic/kibana into bfetch/compre…
ce259c4
Merge branch 'master' of github.com:elastic/kibana into bfetch/compre…
611df93
code review, baby!
a06d709
integration
dd897a7
Merge branch 'master' of github.com:elastic/kibana into bfetch/compre…
9d21b3a
tests
a139f9e
limit
b442879
limit
09026d7
Merge branch 'master' into bfetch/compress-stream
kibanamachine 66a0207
Merge branch 'master' into bfetch/compress-stream
kibanamachine ae47a8f
Merge branch 'master' into bfetch/compress-stream
kibanamachine b4dde7d
Merge branch 'master' into bfetch/compress-stream
kibanamachine 43647ed
Merge branch 'master' into bfetch/compress-stream
kibanamachine f5ef42f
Merge branch 'master' into bfetch/compress-stream
kibanamachine 3626414
Merge branch 'master' into bfetch/compress-stream
kibanamachine 5540010
Merge branch 'master' of github.com:elastic/kibana into bfetch/compre…
f2f6f77
Merge branch 'bfetch/compress-stream' of github.com:lizozom/kibana in…
d07b8eb
limit
df3fecb
Merge branch 'master' of github.com:elastic/kibana into bfetch/compre…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
| * in compliance with, at your election, the Elastic License 2.0 or the Server | ||
| * Side Public License, v 1. | ||
| */ | ||
|
|
||
| export const DISABLE_BFETCH_COMPRESSION = 'bfetch:disableCompression'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
| * in compliance with, at your election, the Elastic License 2.0 or the Server | ||
| * Side Public License, v 1. | ||
| */ | ||
|
|
||
| export { | ||
| createStreamingBatchedFunction, | ||
| StreamingBatchedFunctionParams, | ||
| } from './create_streaming_batched_function'; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why should it be in
kbn-ui-shared-deps?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.
@spalger suggestion -
kbn-ui-shared-depsis minified more strongly, so it seems. 🤷🏻Uh oh!
There was an error while loading. Please reload this page.
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.
There are two reasons, first because of the minification available in ui-shared-deps and second because it allows us to rewrite the imports from
commondirs tofflate/esm/browserbut let them import the default implementation in node.All that said, I didn't learn about the DecompressionStream API until yesterday so I'm wondering if fflate is the best option or if we should be using this API which appears supported in all necessary browsers.
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.
Oh, seeing the other discussion in here it sounds like DecompressionStreams have already been ruled out