-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat(socket): implement esockd_socket connection module
#15451
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
keynslug
merged 31 commits into
emqx:release-60
from
keynslug:perf/EMQX-14333/fanout-part-iv
Jul 24, 2025
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
0630af6
feat(parser): tell how much more bytes are expected when incomplete
keynslug 7cf8259
chore: update `esockd` to 5.15.0 with `esockd_socket` backend
keynslug be4b994
feat(socket): implement `esockd_socket` connection module
keynslug 28bc810
test(emqx): make peeking into connection state module-aware
keynslug 3a6b020
test(emqx): adapt PP2 mocks to `esockd_socket` listeners
keynslug aad4e5a
fix(sessds): make `get_session_state/1` connmod-aware
keynslug e6edd25
fix(eviction): make aware of new connection module
keynslug 0761af5
test(emqx): cleanup `emqx_client_SUITE` and unbreak 2 testcases
keynslug 1f9dc79
feat(congestion): make module generic and connmod-aware
keynslug 280ac5a
feat(socket): use async send APIs and respect `send_timeout` option
keynslug a43ee50
chore(conn): make `esockd_transport` connection emit `send_timeout` e…
keynslug 63f64ec
test(conn): verify congestion and send timeout logic
keynslug e1312b6
feat(emqx): support `esockd_socket` backend through listener config
keynslug 960f9fb
test(conn): verify connmods work well with socket close and keepalive
keynslug f69c877
perf(frame): optimize away and inline few serialization routines
keynslug 13a081b
chore(socket): fix dialyzer complaints
keynslug 3a3ce16
chore: add changelog entry
keynslug 242148f
chore(socket): drop unnecessary directive
keynslug 6dcae1c
fix(socket): avoid closing already closed socket
keynslug 3a81374
fix(socket): anticipate > 1 socket `abort`s on socket close
keynslug 3430943
chore(socket): correct typespec
keynslug b3d1f5e
fix(socket): preserve select handle + handle decongestion correctly
keynslug a724a65
test(client): add congested-then-decongested client testcase
keynslug 8bb14d9
chore(socket): annotate log events with connmod for observability
keynslug 7b8dcbc
chore(frame): avoid using 0 to signal "some more" bytes expected
keynslug e66c98c
chore(socket): drop dead copy-paste artifacts
keynslug 9a26fb3
chore(conn): mention related `emqx_socket_connection` in header
keynslug 8cf1ee0
chore(schema): mention `tcp_backend` change requires listener restart
keynslug b255ddd
fix(schema): do not announce `socket` TCP backend under Windows
keynslug 367fd4b
chore(socket): address dialyzer concerns
keynslug 80429fa
test(telemetry): fix testcase timeout due to dirty server state
keynslug File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(emqx): support
esockd_socket backend through listener config
- Loading branch information
commit e1312b6d324a58eab6de370b6ece1c43f46c2ffb
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add some description to the config schema desc?
e.g. when choose to use
socket(instead ofgen_tcp), the socket options cannot be updated from Dashboard or API.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of TCP options can be updated I think, it's
tcp_backendthat cannot be changed without runningrestart_listener/4. I'll clarify the latter, unless I'm missing something.