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

optimize http connection multiplexing #11

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

lyh169
Copy link

@lyh169 lyh169 commented Mar 21, 2025

This feature can make the http multiplexing connection, because the zkevm-pool-manager is a sever, a large number tx make need a lot of port.

This is log beacuse of send a large number tx to zkevm-pool-manager ,it will have a error:

2025-03-20T03:44:29.651Z	�[34mINFO�[0m	server/endpoints.go:78	sending tx [40649]:0x94ef87e24ec1901c43282001ef561d50b6e351ebbb5dbed88be06fcd20f00464 to sequencer returns error: Post "http://erigon-seq:8123": dial tcp 172.21.0.9:8123: connect: cannot assign requested address	{"pid": 1, "version": "v0.1.2"}

shell for statistics on the number of connection ports :

watch -n 1 "ss -atn | grep 8123 | wc -l"

this is the develop branch statistics :
15

this is this pr statistics
16

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.

1 participant