v3 preview available! #3044
mgravell
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The first v3.0 preview is now up on NuGet
What is v3.0?
v3.0 is an overhaul of the "read" half of the IO mechanism.
Goals:
hgetallfor large hashes, for example)Non-goals:
Details:
XmlDocumenttoXmlReader, but: not xml)RespReaderfromRESPiteThat's actually a lot of work, but large parts (such as the new codegen tooling) have already been pre-merged into v2 to support improved testing via the "toy server", which is fully using the new RESP parser.
Status can be seen here; there's a few more things to close down before we get a full 3.0 preview. but: it should be stable and usable as-is.
Known gaps:
SemaphoreSlim; the next preview release will mitigate thisPipeusageWhat is RESPite?
RESPite is a new package that contains all of the RESP-specific parsing (3.0) and formatting (3.1) implementation details, completely detached from the SE.Redis core. This makes it usable for any low-level RESP tools, such as
resp-cliandresp-benchmark(which are currently built from an old fork of RESPite, and will need updating), but also from other RESP-related tools. This code shares a license with SE.Redis.Currently RESPite exists in both the v2 and v3 branches; however, this is not desirable long-term; when 3.0 is GA, it will be removed from the v2 branch, and v2 will use a
<PackageReference>instead of a<ProjectReference>.How will v2 and v3 co-exist?
Initially, v3 will be available but not mandated; we will aim for the planned major pieces ("active:active", "smart-client-handoffs", etc) to function identically in both. At some point v2 will essentially become a maintenance-only branch (i.e. critical fixes only). That point is not "today".
Upcoming:
Planned for 3.1
Message)Planned for 3.2
Beta Was this translation helpful? Give feedback.
All reactions