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

Handle overflown subscription channels, refactor streams to send envelopes in batches #255

Open
Tracked by #118
richardhuaaa opened this issue Oct 23, 2024 · 0 comments
Assignees

Comments

@richardhuaaa
Copy link
Contributor

No description provided.

@richardhuaaa richardhuaaa self-assigned this Oct 23, 2024
richardhuaaa added a commit that referenced this issue Oct 24, 2024
When streaming envelopes, send them in batches rather than one-by-one.
We use a different batching strategy based on whether the subscription
is originator/topic/global.

#255

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

- **New Features**
- Introduced batch processing for envelope sending, improving
performance.
- Enhanced listener and subscription mechanisms with better error
handling and logging.
- Added new methods to various envelope structs for improved topic
management.

- **Bug Fixes**
- Improved handling of invalid topics and ensured proper cursor
management.

- **Tests**
- Updated test cases to utilize new topic variables for consistency and
readability.
- Added a new utility function for creating originator envelopes with
specified topics.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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

No branches or pull requests

1 participant