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

feat(core): Stream JSON data over push channels to reduce memory usage #10273

Closed
wants to merge 2 commits into from

Conversation

netroy
Copy link
Member

@netroy netroy commented Jul 31, 2024

Summary

Using JSON.stringify for push messages can be quite memory intensive when a node has a lot of data. Switching to a streaming serializer reduces the memory usage of manual executions.

Last attempt: #7109

TODO:

  • Fix serialization for proxies

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jul 31, 2024
@netroy netroy marked this pull request as draft August 1, 2024 13:48
@netroy
Copy link
Member Author

netroy commented Aug 12, 2024

closing again 😞

@netroy netroy closed this Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant