Skip to content

optimize http connection multiplexing#11

Open
lyh169 wants to merge 1 commit into
0xPolygon:developfrom
lyh169:optimize-conn-multiplexing
Open

optimize http connection multiplexing#11
lyh169 wants to merge 1 commit into
0xPolygon:developfrom
lyh169:optimize-conn-multiplexing

Conversation

@lyh169
Copy link
Copy Markdown

@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

@sonarqubecloud
Copy link
Copy Markdown

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