Skip to content

Cache RPC connections - #1266

Draft
mxsrc wants to merge 1 commit into
mainfrom
rpc-reuse
Draft

Cache RPC connections#1266
mxsrc wants to merge 1 commit into
mainfrom
rpc-reuse

Conversation

@mxsrc

@mxsrc mxsrc commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

This adds some basic caching to the connections. Because of urllib3 retry mechanism, the cache needs to be keyed by the retry count as well. Credentials are part of the cache and an eviction is provided in case they ever change. The SPDK proxy is upgraded to support HTTP 1.1 which enables the persistent connections this mechanism relies on.

@mxsrc mxsrc added this to the 26.4 milestone Aug 24, 2026
Comment thread tests/unit/rpc/test_client.py Fixed
Comment thread tests/unit/rpc/test_client.py Fixed
Comment thread tests/unit/rpc/test_client.py Fixed
Comment thread tests/unit/rpc/test_client.py Fixed
Comment thread tests/unit/rpc/test_retry.py Fixed
Comment thread tests/unit/rpc/test_session_pool_eviction.py Fixed
Comment thread simplyblock_core/storage_node_ops.py Fixed
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