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

perf(websockets): performance optimisations for websockets #25

Merged
merged 8 commits into from
Jan 14, 2022
Merged

perf(websockets): performance optimisations for websockets #25

merged 8 commits into from
Jan 14, 2022

Conversation

ramey
Copy link
Member

@ramey ramey commented Jan 11, 2022

Following changes are done to improve WebSockets performance:

  • Removing Closures in the codebase
  • Making the channel buffered
  • Removing channel to a pointer

Added documentation for supporting JSON with websocketrs too
Fixed typo in architecture doc
- change collection channel from pointer to non-pointer struct
- make the channel buffered
remove closures from codebase because of performace implications
following packages are impacted:
- http/websockets
- http/rest
- http
- serialization
- deserialization
@ramey ramey linked an issue Jan 12, 2022 that may be closed by this pull request
Copy link
Contributor

@chakravarthyvp chakravarthyvp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ravisuhag ravisuhag merged commit 56977e9 into raystack:main Jan 14, 2022
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.

Perf(Websockets): Changes to improve WebSockets Performance
4 participants