Skip to content

Optimize RX buffering for high-frequency input#1

Draft
BBBQL2021 wants to merge 1 commit intomainfrom
codex
Draft

Optimize RX buffering for high-frequency input#1
BBBQL2021 wants to merge 1 commit intomainfrom
codex

Conversation

@BBBQL2021
Copy link
Owner

Summary

  • add bounded RX buffer with periodic flushing and chunking to reduce WebSocket backpressure under high-frequency traffic
  • increase serial read size and protect against buffer overflow to keep receiver responsive
  • harden WebSocket broadcast handling to drop broken clients instead of blocking the pipeline

Testing

  • python -m compileall app.py

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant