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

[Reporting] Investigate flushing multi-page reports to disk #120205

Open
jloleysens opened this issue Dec 2, 2021 · 1 comment
Open

[Reporting] Investigate flushing multi-page reports to disk #120205

jloleysens opened this issue Dec 2, 2021 · 1 comment
Labels
Feature:Reporting Reporting (PDF, CSV, ..) feature impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@jloleysens
Copy link
Contributor

While generating a report, we currently keep the full buffer in memory before storing it in ES, using concat-stream. Currently, these inflated buffers can take up quite a large amount of memory.

We could reduce the number of inflated buffers held in memory by flushing pages of the PDF to disk and then reading chunks of the PDF and store the chunks in ES.

@jloleysens jloleysens added Feature:Reporting Reporting (PDF, CSV, ..) feature loe:medium Medium Level of Effort impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:AppServicesUx labels Dec 2, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServicesUx)

@petrklapka petrklapka added Team:AppServicesSv Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) and removed Team:AppServicesUx labels Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Reporting Reporting (PDF, CSV, ..) feature impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

No branches or pull requests

3 participants