Skip to content

refactor: rework SPDK proxy to utilize fastapi - #1298

Open
mxsrc wants to merge 22 commits into
mainfrom
fastapi-spdk-proxy
Open

refactor: rework SPDK proxy to utilize fastapi#1298
mxsrc wants to merge 22 commits into
mainfrom
fastapi-spdk-proxy

Conversation

@mxsrc

@mxsrc mxsrc commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

The existing proxy executed at import time and utilized global state, making it difficult to reason about. Converting this to FastAPI addresses this issue, aligns the proxy with the other API code, and enables simpler integration of richer SPDK-side interaction.

Comment thread simplyblock_core/services/spdk_http_proxy_server.py Fixed
Comment thread tests/integration/test_spdk_proxy_e2e.py Fixed
def _close(writer: asyncio.StreamWriter) -> None:
try:
writer.close()
except OSError:
Comment thread simplyblock_core/rpc_client.py Dismissed
Comment thread simplyblock_core/rpc_client.py Dismissed
@mxsrc
mxsrc force-pushed the fastapi-spdk-proxy branch 2 times, most recently from a47747d to 918ad15 Compare September 4, 2026 00:00
@mxsrc
mxsrc force-pushed the fastapi-spdk-proxy branch from 05b672e to 2154d5d Compare September 4, 2026 00:50
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.

2 participants