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: Tmux-restore saves tmux windows and agent sessions across reboots

https://github.com/andrewboldi/tmux-restore
36•boldi•3d ago•23 comments

Show HN: Waymark – A workflow engine that compiles jobs instead of replaying

https://github.com/piercefreeman/waymark
71•icyfox•1d ago•22 comments

Show HN: Did prediction markets do any predicting this midterms?

https://app.artifactbin.dev/@vivek/AQTt2H-did-prediction-markets-predict-the-midterms
25•nuwandavek•5h ago•15 comments

Show HN: Agents infer Lego mechanisms from sources, then animate them

https://github.com/anteloc/ldraw-mecha/tree/v0.5.0
27•antelocnova•13h ago•1 comments

Show HN: AegisKernel – Zero-trust POSIX runtime for AI agents in <0.016ms

https://adikshatriyag-crypto.github.io/aegis-kernel/
12•adityawebde•16h ago•3 comments

Show HN: Agentic Identity Broker, OAuth Delegation for AI Agents

https://github.com/zalando-incubator/agentic-identity-broker
22•jbspeakr•18h ago•3 comments

Show HN: I built ivyNote, a local-first Markdown notes app

https://ivynote.app/
3•songtianlun1•7h ago•0 comments

Show HN: A decent text-to-image model trained for ~$20K (Apache 2.0 Weights)

https://www.linum.ai/field-notes/pjit-21k
274•schopra909•2d ago•29 comments

Show HN: Stroq – a local audit of what your coding agent did and why

https://github.com/AGGIB/Stroq
92•agybay_07•1d ago•34 comments

Show HN: Firenook – Firebase emulators in Rust: 40× faster writes, 10× less RAM

https://firenook.dev/
169•sanjevirau•1d ago•30 comments

Show HN: CloneGuard – Scan a repo for credential-stealing tricks before it runs

https://github.com/tharun208/cloneguard
29•tharun208•13h ago•7 comments

Show HN:Best Price Supermarket Offers in Denmark

https://nyneon.net/supermarket-offers-denmark/
2•Zinnn•10h ago•1 comments

Show HN: Overhead – the planes overhead, painted on an e-ink frame

https://github.com/dmellok/tesserae-widget-overhead
9•xDaftTurtle•23h ago•0 comments

Show HN: Hacker Living – HN's most recommended places

https://hacker.living
4•grandimam•16h ago•1 comments

Show HN: I built a tool that prices a pre-built PC part by part

https://pcdealcheck.com/
117•adlep•2d ago•83 comments

Show HN: NASA's Swift telescope's 22 years in orbit, rebuilt from its archive

https://swift.rory.codes/
3•mrroryflint•17h ago•2 comments

Show HN: After a decade of reversing, I got co-op working in DOS Wing Commander

https://fireflyk64.github.io/wcmulti/
254•daniel_rh•2d ago•39 comments

Show HN: Tell the Sky – message lanterns drift on winds from live weather data

https://tellthesky.com
3•andycodeman•13h ago•0 comments

Show HN: Uncracked City, detective game where you question LLM suspects that lie

https://uncracked.city
127•passkey1510•3d ago•69 comments

Show HN: An open source webbluetooth and NFC browser for iOS

https://github.com/hito-dev/wand-browser
14•hito•19h ago•0 comments

Show HN: HackerTV – HN's most-recommended Youtube videos as 24/7 TV channels

https://hackertv.org
486•dsalzman•4d ago•82 comments

Show HN: Send to dot 0.9.5 – no computer has to stay on

https://github.com/bryanzk/send-to-dot/releases/tag/v0.9.5
2•bryanzk•14h ago•0 comments

Show HN: IMDb for YouTube (Long-Form Videos Only)

https://vidtier.eamag.me/
4•eamag•14h ago•2 comments

Show HN: UUMit – turn idle machines into model endpoints

https://uumit.ai/
4•rory18439909614•21h ago•1 comments

Show HN: Search Danish supermarket offers in English

https://nyneon.net/denmark-supermarket-offers/
3•nynsam•15h ago•2 comments

Show HN: Should I Grade It? Estimates a Pokémon card's PSA grade from a photo

https://shouldigradeit.app/
3•mjprintz•15h ago•2 comments

Show HN: ViewFit – Resize images to the size they are rendered at

https://github.com/andrea-bonacci/viewfit
3•andrea-bonacci•15h ago•0 comments

Show HN: Rindraw – drawing and animation app for iPad, iPhone and Mac

https://rindraw.com/
5•sawirricardo•22h ago•0 comments

show HN: Computer-Generated Asset Pipelines: Shading Language in Toy Story (1995)

https://codeaihq.com/computer-generated-asset-pipelines-shading-language-in-toy-story-1995/
3•CodeAIHQ•16h ago•0 comments

Show HN: Black Pixel – 69-byte inverse of the Million Dollar Homepage

https://black-pixel-1x1.vercel.app
4•KINGOFTHESCREEN•22h ago•0 comments