NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Show HN: Solidis – Tiny TS Redis client, no deps, for serverless (github.com)
badmonster 22 hours ago [-]
What makes Solidis more performant than other Redis clients like ioredis or redis
jayl-e-e 15 hours ago [-]
Solidis isn’t necessarily aiming to outperform ioredis or node-redis in every way — its primary goal is to reduce bundle size rather than maximize raw performance. That said, it does offer some performance advantages in practice. Solidis is designed to handle pipelined commands more efficiently within a single event loop iteration and parses responses in a more event-loop-friendly manner.

As a result, in most real-world scenarios, Solidis tends to be about 2–3x faster than ioredis (even with auto-pipelining enabled). Compared to node-redis, the performance is generally on par or slightly behind.

One caveat: if the payloads being parsed are very large, Solidis can experience increased latency due to its parser being more CPU-intensive, which may introduce delays compared to other stacks.

swaptr 18 hours ago [-]
Looks great! I tried plugging it into my setup that uses ioredis, but it doesn't seem to support loading the URI directly?
jayl-e-e 15 hours ago [-]
Thank you very much. As you mentioned, connecting via URI is not currently supported, but it’s not difficult to implement, so I will consider adding it to the specification.
jayl-e-e 13 hours ago [-]
Improvement deployed!
swaptr 12 hours ago [-]
Thanks, really appreciate the quick resolution. Looks like a really cool project and the goals seem to be well defined. All the best.
jayl-e-e 10 hours ago [-]
It's my pleasure! :)
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:35:52 GMT+0000 (UTC) with Wasmer Edge.