frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Solidis – Tiny TS Redis client, no deps, for serverless

https://github.com/vcms-io/solidis
71•jayl-e-e•7mo ago
Hey everyone!

Over the past two years I threw myself back into full-time engineering with a simple goal: write code that gives back to the community. After a lot of late-night FOMO (“AI will do it all for us, right?”) and some painful production incidents, I finally turned my weekend project into an open-source library.

[ What is Solidis? ]

- Super-light (< 30 KB) RESP2/RESP3 client with zero runtime deps and first-class ESM/CJS support.

- Fully tree-shakable – import only the commands you need.

- Written with SOLID principles & full TypeScript typings for every command.

- Designed for cold-start sensitive serverless platforms (small bundle + tiny memory footprint).

[ Why I built it ]

1. node-redis & ioredis pain

- ESM is still an after-thought.

- Hidden deadlocks on RST, vague error surfaces.

- Everything gets bundled, even commands you’ll never call.

2. I refuse to add a dependency I don’t fully understand – I literally read candidates 10× before `npm i`.

3. Serverless bills love to remind me that every KB and millisecond matters.

[ Key features ]

- Protocols: RESP2 and RESP3 (auto-negotiation)

- Bundle size: `<30 KB` (core) / `<105 KB` (full)

- Dependencies: 0

- Extensibility: Drop-in command plugins, custom transactions

- Reliability: Auto-reconnect, per-command timeouts, type-checked replies

[ Roadmap / Help wanted ]

- Benchmarks against `node-redis` & `ioredis` (PRs welcome!)

- More first-class Valkey love

- Fuzz-testing the parser

- Docs site – the README came first; I’d love help polishing full docs

This might be my last big OSS push for a while, so stars, issues, and PRs mean the world.

If Solidis saves you some cold-start time or just scratches a TypeScript itch, let me know!

Repo: https://github.com/vcms-io/solidis

License: MIT

Thanks for reading, and happy hacking!

(Feel free to AMA in the comments – I’m around.)

Comments

badmonster•7mo ago
What makes Solidis more performant than other Redis clients like ioredis or redis
jayl-e-e•7mo 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•7mo 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•7mo 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•7mo ago
Improvement deployed!
swaptr•7mo 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•7mo ago
It's my pleasure! :)
jayl-e-e•7mo ago
swaptr, thank you for your contribution to Solidis! May I know how to contact you?

Show HN: I built a WebMIDI sequencer to control my hardware synths

https://www.simplychris.ai/droplets
17•simplychris•5d ago•3 comments

Show HN: Mephisto – A RAM-only, ad-free disposable email PWA built with React

https://mephistomail.site
2•benmxrt•10m ago•1 comments

Show HN: Titan – JavaScript-first framework that compiles into a Rust server

https://www.npmjs.com/package/@ezetgalaxy/titan
33•soham_byte•5d ago•20 comments

Show HN: Sqlit – A lazygit-style TUI for SQL databases

https://github.com/Maxteabag/sqlit
146•MaxTeabag•1d ago•26 comments

Show HN: I built middleware to connect legacy SOAP APIs to AI agents in 2 weeks

https://www.hopelessapi.com
2•Ugyen_Tech•1h ago•2 comments

Show HN: TheAuditor v2.0 – A “Flight Computer” for AI Coding Agents

https://github.com/TheAuditorTool/Auditor
26•ThailandJohn•20h ago•7 comments

Show HN: Learn Japanese contextually while browsing

https://lingoku.ai/learn-japanese
77•englishcat•9h ago•43 comments

Show HN: Interactive Common Lisp: An Enhanced REPL

https://github.com/atgreen/icl
90•atgreen•3d ago•5 comments

Show HN: brig – a devcontainer CLI in Go

https://github.com/nlsantos/brig
2•nsantos•3h ago•0 comments

Show HN: Post2X – create, score, and schedule X/LinkedIn posts in one workflow

https://post2x.com
2•moimaere•4h ago•0 comments

Show HN: My Tizen multiplayer drawing game flopped, but then hit 100M drawings

https://www.drawize.com/
27•lombarovic•18h ago•5 comments

Show HN: I built the fastest RSS reader in Zig

https://github.com/superstarryeyes/hys
21•superstarryeyes•14h ago•7 comments

Show HN: Solving the ~95% legislative coverage gap using LLM's

https://lustra.news/
36•fokdelafons•19h ago•21 comments

Show HN: Deterministic PCIe Diagnostics for GPUs on Linux

https://github.com/parallelArchitect/gpu-pcie-diagnostic
15•gpu_systems•13h ago•4 comments

Show HN: Zenflow – orchestrate coding agents without "you're right" loops

https://zencoder.ai/zenflow
28•andrewsthoughts•17h ago•13 comments

Show HN: Obsidenc – a Rust-based paranoid-grade encryption utility

https://github.com/markrai/obsidenc
2•markrai•6h ago•0 comments

Show HN: A pager

https://www.udp7777.com/
101•keepamovin•2d ago•42 comments

Show HN: A real-time 4D fractal explorer in the browser using WebGPU

https://bryanjj.github.io/nebula/
24•bryan0•5d ago•9 comments

Show HN: Python packages for FastAPI apps – auth, logging, config, LLM, more

https://github.com/Netrun-Systems/netrun-oss
4•DanielGarza•10h ago•1 comments

Show HN: Skouriasmeno Papaki – S3 transfer tool, up to 12x faster than AWS-CLI

https://github.com/NetViper-Labs/skouriasmeno-papaki
5•NetViper•10h ago•1 comments

Show HN: F. Incantatem – CLI, Decorator & notebook ext. for traceback analysis

https://github.com/aguilar-ai/fincantatem
2•Paralus•10h ago•0 comments

Show HN: AI Trolley Problem Arena

https://www.aitrolleyproblem.com/
8•justintorre75•10h ago•1 comments

Show HN: Picknplace.js, an Alternative to Drag and Drop

https://jgthms.com/picknplace.js/
28•bbx•17h ago•14 comments

Show HN: Search the lyrics of 500 HÖR Berlin techno sets

https://hor.greg.technology/
16•gregsadetsky•5d ago•11 comments

Show HN: Semantic-relevance, finding signal in noisy feeds

https://github.com/M4n1shG/semantic-relevance
2•manishg2022•12h ago•0 comments

Show HN: Ducktape – a tiny HTTP/2 wrapper around DuckDB's Appender API

https://github.com/artie-labs/ducktape
10•williamhaw•18h ago•0 comments

Show HN: Cordon – Reduce large log files to anomalous sections

https://github.com/calebevans/cordon
17•calebevans•1d ago•0 comments

Show HN: A24z – AI Engineering Ops Platform

https://www.a24z.ai/
8•brandonin•13h ago•4 comments

Show HN: Stop AI scrapers from hammering your self-hosted blog

https://github.com/vivienhenz24/fuzzy-canary
25•misterchocolat•13h ago•2 comments

Show HN: Dev Tools – 24 browser-based utilities with no signup or tracking

https://dev-tools.online
3•ghdj•14h ago•0 comments