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: Metiq: a real time 3D globe for 100 public datasets

https://metiq.space
37•rakeda•3d ago•9 comments

Show HN: Pagecast – Publish Markdown/HTML Reports to Cloudflare Pages

https://github.com/Amal-David/pagecast
14•amaldavid•23h ago•3 comments

Show HN: Modeloop – From visual algorithms to microcontroller C code

https://www.modeloop.app/
33•lucamark•4d ago•22 comments

Show HN: NanoEuler – GPT-2 scale model in pure C/CUDA from scratch

https://github.com/JustVugg/nanoeuler
2•vforno•1h ago•0 comments

Show HN: Talos – Open-source WASM interpreter for Lean

https://github.com/cajal-technologies/talos
89•mfornet•1d ago•22 comments

Show HN: Ways Of Working (WOW) - seeking tips for teamwork

2•jph•2h ago•0 comments

Show HN: No-install, end-to-end encrypted HTML artifact sharing for agents

https://askhuman.app/
2•rvcdbn•2h ago•0 comments

Show HN: Gerrymandle - Daily puzzle game where you redraw electoral districts

https://gerrymandle.cc/
195•realmofthemad•1d ago•76 comments

Show HN: Are You in the Weights?

https://www.intheweights.com/
425•turtlesoup•22h ago•234 comments

Show HN: StartupsBR – A Map of Brazilian Startups

https://www.startupsbr.com/sao-paulo
2•leonagano•2h ago•0 comments

Show HN: Music from every single country on Earth, generated in Esperanto

https://elevenexperiments.com/around-the-world?lang=eo&genre=de
6•ktoyame•6h ago•5 comments

Show HN: SEO Audit and Backlink Monitoring. All-in-One Platform

https://selinkpro.com/
2•avldokuchaev•4h ago•0 comments

Show HN: An 8-bit live gamecast for baseball

https://ribbie.tv/watch
251•brownrout•2d ago•137 comments

Show HN: Brain Frog – Can you be random enough for 11 lines of JavaScript?

https://brainfrog.lol
6•AlexanderZ•6h ago•3 comments

Show HN: We built an 8-bit CPU as 2nd year EE students

https://github.com/c0rRupT9/STEPLA-1
104•CorRupT9•3d ago•45 comments

Show HN: Crawlie – Free open-source SEO audit tool for humans and agents

https://github.com/spronta/crawlie
14•seandotexe•20h ago•6 comments

Show HN: Wolffish – An OS personal desktop AI agent

https://www.wolffi.sh/
3•younes-alturkey•7h ago•2 comments

Show HN: High-Res Neural Cellular Automata

https://cells2pixels.github.io/
199•esychology•2d ago•53 comments

Show HN: Capacitor Alarm Clock

https://github.com/ArcaEge/capacitor-alarm-clock
153•arcaege•5d ago•48 comments

Show HN: I built an 11-LLM consensus engine to detect AI hallucination

https://github.com/jaquelinejaque/quorum-saas-starter
5•jaquelinejaque•9h ago•3 comments

Show HN: Inkwash, a watercolor sketching app and explanation

https://johnowhitaker.github.io/inkwash/about
246•Yenrabbit•5d ago•28 comments

Show HN: Spin Lab

https://srijanshukla.com/artifacts/spin-lab/
40•srijanshukla18•3d ago•26 comments

Show HN: cuTile Rust: Safe, data-race-free GPU kernels in Rust

https://github.com/nvlabs/cutile-rs
106•melihelibol•2d ago•18 comments

Show HN: Appaca – AI Workspace for Operators

https://www.appaca.ai/index.html
5•susros•12h ago•2 comments

Show HN: Fata – Spaced repetition to fight skill rot from AI coding

https://fata.dev
121•djoume•1w ago•53 comments

Show HN: Deconvolution – a Rust image deconvolution and restoration crate

https://github.com/pbkx/deconvolution
33•rmi0•4d ago•5 comments

Show HN: Building Cursor for Traders

https://runhalcyon.com/
4•chips2011•15h ago•6 comments

Show HN: StarScope – Free astronomy dashboard for observers outside the US/UK

https://starscope.live/feed
21•xenophin•4d ago•2 comments

Show HN: Kage – Shadow any website to a single binary for offline viewing

https://github.com/tamnd/kage
706•tamnd•5d ago•140 comments

Show HN: Garden of Flowers – an archive of pictorial typography before ASCII art

https://garden-of-flowers.heikkilotvonen.com/
160•california-og•3d ago•27 comments