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

Show HN: I built a dashboard to compare mortgage rates across 120 credit unions

https://finfam.app/blog/credit-union-mortgages
239•mhashemi•11h ago•75 comments

Show HN: A Minimal Monthly Task Planner (printable, offline, no signup)

https://printcalendar.top/
26•defcc•2h ago•7 comments

Show HN: Mirror_bridge – C++ Reflection powered Python binding generation

https://github.com/FranciscoThiesen/mirror_bridge
6•fthiesen•2h ago•0 comments

Show HN: Identifiy test coverage gaps in your Go projects

https://github.com/LeanerCloud/testvet
11•alien_•3d ago•2 comments

Show HN: Fresh – A new terminal editor built in Rust

https://sinelaw.github.io/fresh/
146•_sinelaw_•17h ago•94 comments

Show HN: Onetone – A full-stack framework with custom C interpreter

https://github.com/onetoneframework/framework
2•tactics6655•2h ago•0 comments

Show HN: Microlandia, a brutally honest city builder

https://microlandia.city
77•phaser•13h ago•10 comments

Show HN: RAG in 3 Lines of Python

https://pypi.org/project/piragi/
7•init0•8h ago•1 comments

Show HN: FastLanes based integer compression in Zig

https://github.com/steelcake/zint
9•ozgrakkurt•3d ago•7 comments

Show HN: TidesDB – A storage engine that outperforms RocksDB

https://github.com/tidesdb/tidesdb
2•alexpadula•3h ago•0 comments

Show HN: AI music and auto-charting and custom rhythm minigame sandbox

https://rhythm-seodang-web.vercel.app/
5•sputnikwrkshp•5h ago•0 comments

Show HN: EchoCopi Local-first, model-agnostic alternative to Google Antigravity

3•sparksupernova•6h ago•0 comments

Show HN: Stanford's ACE paper was just open sourced

https://github.com/ace-agent/ace
3•vmsn•9h ago•0 comments

Show HN: Marmot – Single-binary data catalog (no Kafka, no Elasticsearch)

https://github.com/marmotdata/marmot
97•charlie-haley•1d ago•21 comments

Show HN: A $20/year invoicing tool for solo developers (simple, fast, no bloat)

https://sidepay.app/
11•mightbefun•17h ago•4 comments

Show HN: ESLint-plugin-code-complete – ESLint Rules for Code Complete

https://github.com/aryelu/eslint-plugin-code-complete
3•arye_lu•9h ago•0 comments

Show HN: Rust Client Library for Gradium.ai TTS/STT API

https://github.com/cydanix/rust-gradium
3•irqlevel•10h ago•0 comments

Show HN: TrackerNews – Keyword monitoring and insight extraction

https://trackernews.app/
4•winchester6788•11h ago•0 comments

Show HN: From Personal Script to Public Tool – How I Built a Windows Setup Gen

https://kaicbento.substack.com/p/from-personal-script-to-public-tool
2•kaicbento•4h ago•0 comments

Show HN: MetaConvert – Free PDF and Image Conversion Tools

https://metaconvert.blogspot.com/
2•MetaConvert•12h ago•0 comments

Show HN: HCL-Schema – Create HCL Schemas Using HCL Files

https://github.com/avestura/hcl-schema
2•avestura•12h ago•0 comments

Show HN: Niccup – Hiccup-Like HTML Generation in ~120 Lines of Pure Nix

https://embedding-shapes.github.io/introducing-niccup/
2•embedding-shape•12h ago•0 comments

Show HN: The Taka Programming Language

https://codeberg.org/marton/taka
10•mgunyho•18h ago•4 comments

Show HN: A prediction market where you can bet against my goals

https://market.ericli.tech
6•ericlmtn•18h ago•5 comments

Show HN: Patternia – A Zero-Overhead Pattern Matching DSL for Modern C++

https://github.com/sentomk/patternia
3•sentomk•12h ago•0 comments

Show HN: Textwave – Versioning for Documents (free, local-only document editor)

https://textwaveapp.com/
2•domysee•13h ago•0 comments

Show HN: Equations Explained Colorfully (KaTeX and Markdown)

https://p.migdal.pl/equations-explained-colorfully/
4•stared•14h ago•0 comments

Show HN: Avolal – Book routine flights in 60 seconds

https://www.avolal.com
9•midito•14h ago•4 comments

Show HN: SafeKey – PII redaction for LLM inputs (text, image, audio, video)

https://www.safekeylab.com
4•safekeylab•14h ago•6 comments

Show HN: Boing

https://boing.greg.technology/
773•gregsadetsky•4d ago•145 comments