Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
redis: by far the most popular and definitely the most ergonomic library. However, I was frustrated by its pubsub support; while generally acceptable, it's impossible to perform subscription operations while consuming messages. I like the library, but the workarounds to this issue were unacceptable to me.
I've published my work on Github: https://github.com/appellation/redust. If anyone is also interested in solving these kinds of problems, I'd love to receive some feedback on the code or its API.
For what it's worth - here's a library I use in my redis client for parsing RESP2 and RESP3. It does not use serde but does use nom, and it has an optional feature that can decode `BytesMut` without moving or copying the buffer contents as long as you're willing to use the `Bytes` ecosystem types.
For what it's worth - here's a library I use in my redis client for parsing RESP2 and RESP3. It does not use serde but does use nom, and it has an optional feature that can decode `BytesMut` without moving or copying the buffer contents as long as you're willing to use the `Bytes` ecosystem types.
Related posts
- Trying to utilize sqlx with postgresql and expecting performance on par with jdbc 😀. How do you guys do prepared statement, arg/param setting, batch insertions etc? The documentation doesn’t take me anywhere near that.
- Getting started with Rust and Redis
- Valkey Is Rapidly Overtaking Redis
- Ask HN: How Can I Make My Front End React to Database Changes in Real-Time?
- Redict 7.3.0, a copyleft fork of Redis, is now available