Skip to content

Increase incoming msg buffer#714

Open
konradkonrad wants to merge 1 commit into
mainfrom
dev/incoming_msg_buffer
Open

Increase incoming msg buffer#714
konradkonrad wants to merge 1 commit into
mainfrom
dev/incoming_msg_buffer

Conversation

@konradkonrad

@konradkonrad konradkonrad commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

This change helps with concurrency issues on event based decryption triggers, when many registered decryption keys have to be generated at the same time. Experimentally this increase in buffer size helped to process (and broadcast) key shares for up to 250 registrations succesfully (in a 5 keyper scenario), whereas the previous setting starting failing at around 100 registrations.

This addresses #715

For a more thorough fix, a (working) batching mechanism needs to be implemented (c.f. #700)

This change helps with concurrency issues on event based decryption
triggers, when there are many registered decryption keys have to be
generated at the same time. Experimentally this increase in buffer size
helped to process (and broadcast) key shares for up to 250 registrations
succesfully (in a 5 keyper scenario), whereas the previous setting
starting failing at around 100 registrations.

This addresses
#715

For a more thorough fix, a (working) batching mechanism needs to be
implemented (c.f.
#700)
@konradkonrad konradkonrad force-pushed the dev/incoming_msg_buffer branch from 0cd8cf0 to ed328b9 Compare June 11, 2026 12:54
@konradkonrad konradkonrad changed the title Dev/incoming msg buffer Increase incoming msg buffer Jun 11, 2026
@konradkonrad konradkonrad marked this pull request as ready for review June 11, 2026 12:55
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.

Investivate why the stress tests with 100 registrations at a time sometimes fail

1 participant