frontpage.
newsnewestaskshowjobs

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

Show HN: A GUI for polishing the text your coding agent writes

https://draftmux.raine.dev/
20•rane•1h ago•7 comments

Show HN: Fast and Fable – Drifting racing game in half a megabyte

https://compo.tv/w/fast-fable
2•Benjaminsen•39m ago•0 comments

Show HN: Litmus NVR – Local AI NVR that follows people across your cameras

https://litmusnvr.com/
2•audi0615•58m ago•0 comments

Show HN: Device, a free open-source DAW for Mac, Windows and Linux

https://devicedaw.github.io/
176•devicedaw•17h ago•80 comments

Show HN: Graffiti Letters, free graffiti text generator (PNG/SVG, no sign up)

https://graffiti-letters.com/
3•sadeemirfan•1h ago•0 comments

Show HN: Understanding FAT16 – an interactive filesystem explainer

https://fat16.asciitweezers.com/
94•giant_fern•2d ago•11 comments

Show HN: Age of Empires II HD decompiled to C++, playable in the browser

https://shellbear.me/aoe2/
2•shellbear•2h ago•3 comments

Show HN: Web app to practice piano from a MIDI file

https://piano.alexitc.com
44•AlexITC•23h ago•27 comments

Show HN: ZAR – A new archive format with history, deduplication, encryption

https://github.com/brmmm3/zar-rs
38•brmmm3•20h ago•18 comments

Show HN: Comentr – community+forum based discussions and deeply nested comments

https://www.comentr.com/
11•hoodied•10h ago•6 comments

Show HN: TinyFloor – Virtual office for remote teams

https://app.tinyfloor.com/lobby
5•jittojoseph•6h ago•1 comments

Show HN: I made a tiny live replica of SFO

https://tinysfo.com/
619•eiiot•2d ago•185 comments

Show HN: Dictate, an iPhone dictation keyboard that cleans up text on-device

https://github.com/satviksinha/dictate
31•satviksinha2002•20h ago•16 comments

Show HN: Push MFA for SSH and sudo that falls back to offline codes

https://u2secured.com/ssh-two-factor-authentication
2•u2secured_team•7h ago•0 comments

Show HN: 15,000 HN-recommended books, 100 AI insights per book

https://books.opendb.app/
19•xh2012•23h ago•6 comments

Show HN: Icey, a Highschooler's FPGA Board

https://github.com/darshg321/icey
3•darshg321•8h ago•0 comments

Show HN: Gantta-Claus

https://dawnofthe.dad/gantta-claus
2•userundefined•8h ago•0 comments

Show HN: Bakodo.jp – Free Online Barcode Generator (111 Formats)

https://bakodo.jp/
2•wasmgame845•9h ago•0 comments

Show HN: Skeg – A memory-efficient vector database and KV store written in Rust

https://skegdb.com/
9•lupodevelop•20h ago•3 comments

Show HN: Archive95, an independent archive of the early web

https://archive95.net/
156•WumboSpasm•2d ago•23 comments

Show HN: RSS feed of top prompts from X

https://www.goodprompts.bot/
2•tomquirk•10h ago•0 comments

Show HN: Luciole Mono – terminal font designed for legibility

https://scriptor-pro.github.io/luciole-mono/
189•BaudouinVH•2d ago•76 comments

Show HN: 4-way rotary polyglot QR codes

https://doridian.github.io/QRDial/
4•Doridian•11h ago•0 comments

Show HN: Factorio but with Unreliable Components

https://think-twice.me/public/rely/
11•zug_zug•22h ago•2 comments

Show HN: RK3588 QEMU emulator running unmodified Armbian images

https://github.com/petabyt/clanker-rkqemu
60•petabyt•2d ago•34 comments

Show HN: Gitto. A desktop Git client in Rust, with repos over SSH

https://gitto.app/
8•coorasse2•23h ago•0 comments

Show HN: Google Maps for Navigating Codebases

https://mindmap.twing.dev/transformers/drive
5•imayank•18h ago•4 comments

Show HN: AI yahoo finance built with Neon in 2 hours

https://www.moatdaily.com/
3•rwaliany•13h ago•0 comments

Show HN: Hire Your McK – I left McKinsey and built an AI version of myself

https://github.com/brianlee0113/hire-your-mck
4•brianlee0113•13h ago•1 comments

Show HN: Symphony – sandboxed coding agents you manage like tickets

https://symphony.stavros.io
43•stavros•23h ago•19 comments