Skip to content

Fix RESP stream framing and concurrent command handling - #1

Merged
HMarzban merged 1 commit into
mainfrom
codex/profile-maturity-systems
Sep 17, 2026
Merged

HMarzban merged 1 commit into
mainfrom
codex/profile-maturity-systems

Conversation

@HMarzban

Copy link
Copy Markdown
Owner

TCP chunks are no longer treated as complete commands. A byte-counted RESP2 parser buffers fragments, drains pipelines in order, and preserves binary keys/values. Worker IPC replies are correlated, conditional SET is atomic in the primary, and lazy expiry prevents an older timer deleting a newer value. Correct bulk/integer/error replies make redis-cli behavior consistent.

The README explains the implemented/unsupported scope, request limits, in-memory retention/backpressure limits, and benchmark overhead. The benchmark package script now names the file that exists. No measured speedup or new licensing terms are claimed.

Validation: 8 native TCP/cluster tests passed with two workers, including split/coalesced/binary/error/concurrent-client cases; the existing redis-cli shell suite also passed against an isolated server. Added Node 22/24 CI. No external Redis replacement or production-readiness claim.

@HMarzban
HMarzban merged commit 900e52a into main Sep 17, 2026
4 checks passed
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