Skip to content

feat(core): Increase default transport buffer size from 30 to 64 #11764

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 2 commits into from
Apr 24, 2024

Conversation

lforst
Copy link
Contributor

@lforst lforst commented Apr 24, 2024

Nowadays, the SDK simply sends more data and we are seeing overflows in our E2E tests which do not produce an unreasonable amount of events.

Dropped events can lead to broken traces and confusing data inside Sentry, which is why I think bumping this is reasonable.

We make this under the assumption that an event in the transport holds at max something like 5MB of memory, which would bump the memory consumption from 150MB to 320MB.

Nowadays, the SDK simply sends more data and we are seeing overflows in our E2E tests which do not produce an unreasonable amount of events.

Dropped events can lead to broken traces and confusing data inside Sentry, which is why I think bumping this is reasonable.

We make this under the assumption that an event in the transport holds at max something like 5MB of memory, which would bump the memory consumption from 150MB to 320MB.
@lforst lforst merged commit edfea16 into develop Apr 24, 2024
96 checks passed
@lforst lforst deleted the lforst-increase-default-promise-buffer-size branch April 24, 2024 09:13
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