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: TinyAIArena watch AI agents battle it out

https://tinyaiarena.com/
47•hp6•2h ago•29 comments

Show HN: Building a Markdown editor for Mac, iOS and web

https://www.markdown.beauty/
27•thiagoperes•4h ago•21 comments

Show HN: A CC0 museum of retro 3D tricks you can paste into a page

https://3d-retro.com/
55•SouthWestAtlas•3d ago•10 comments

Show HN: Trail – new kind of logic game

https://trail.franzai.com/
8•franze•11h ago•4 comments

Show HN: Reladraw – A diagram language where you decide where to place things

https://github.com/reladraw/reladraw
376•jpwalsh234•1d ago•103 comments

Show HN: Banker – CLI for your finances using Enable Banking and SQLite

https://github.com/karlis-vagalis/banker
3•nautical_dog•2h ago•0 comments

Show HN: MacUp – keep CLI tools up to date from the menu bar

https://macup.patriciobcs.com/
4•patriciobcs•2h ago•0 comments

Show HN: High-performance, zero-dependency charting engine for Svelte

https://bonguynvan.github.io/tradecanvas/
4•bonguynvan•3h ago•0 comments

Show HN: Jev Plays Pokémon Red

https://jev-pokemon.vercel.app/
266•pancomplex•2d ago•117 comments

Show HN: Andurel V2 – Space-Grade Go Web Framework

https://andurel.com/docs/head/whats-new
2•mbvisti•4h ago•0 comments

Show HN: Revise, a new document editor library for React

https://www.npmjs.com/package/revise
2•artursapek•6h ago•2 comments

Show HN: Interactive Phaistos Disc workbench, rotation ergonomics, null models

https://lessthanzero.github.io/phaistos-disk/
3•sashakatin•6h ago•0 comments

Show HN: Ekselio – Loveable for finance workflows (local first)

https://www.gptbeyond.com/try?home=1
39•kdautaj•1d ago•10 comments

Show HN: Aldine. Self-hosted Overleaf alternative. Every paper = 1 Git Repo

https://github.com/trahloff/Aldine
2•rahloff•6h ago•1 comments

Show HN: An OpenAI-compatible, model-agnostic agent API

https://rebyte.ai/docs/agents-api/overview
2•sonicgg•7h ago•0 comments

Show HN: What about a no-SSH agentic access tool

https://getfda.dev/
2•laotree•7h ago•0 comments

Show HN: Peekaboolean – image and jev-like typed questions in typed anwers out

https://github.com/bykof/peekaboolean
2•bykof•8h ago•0 comments

Show HN: Afterlife Vault – a virtual dead man's switch

https://afterlife-vault.com
2•wmeter•8h ago•3 comments

Show HN: I built an AR App that overlays makeup tutorials live on your face

https://urartist.app/
4•Vicmed13•9h ago•3 comments

Show HN: Hacker Atlas - A map of what Hacker News talks about

https://hackeratlas.com/
85•andrearitossa•2d ago•28 comments

Show HN: An interactive debugger for the Mornington Crescent esolang

https://codeberg.org/Two9A/mcresc
3•Two9A•10h ago•0 comments

Show HN: Ppgrid – Rasterising points in minutes, not hours

https://mrzk.io/posts/ppgrid-fast-continentscale-raster-interpolation/
3•marzukia•11h ago•0 comments

Show HN: Whiteboard (YC W26) – An open-source IDE for thoughtful software design

https://github.com/devdotfast/whiteboard
414•sidharthkmenon•3d ago•141 comments

Show HN: Spivak's Calculus formalized in Lean 4 – every theorem, every problem

https://github.com/stormj-UH/spivak-lean
18•jsLavaGoat•1d ago•2 comments

Show HN: Shipwithmuse.live – a catalog of things people built with Muse

https://shipwithmuse.live/
4•mdayan896•13h ago•2 comments

Show HN: A Claude Code skill to analyze your chess games

https://github.com/brumar/chess-postmortem-skills
75•brumar•1d ago•53 comments

Show HN: I checked 1M free proxies – 1 in 5 working ones injected scripts

https://github.com/maximilianfeix/proxy-scraper
10•taventix•1d ago•1 comments

Show HN: Air-gapped file encryption as self-decrypting HTML page

https://cms-sfx-demo.apeleg.com/
90•emurlin•3d ago•31 comments

Show HN: AgentRun: DSL to turn agents into workflows

https://github.com/Parcha-ai/agentrun
51•miguelrios•3d ago•12 comments

Show HN: Koi.rest – watch some fish and regain your balance

https://koi.rest
225•hxii•2d ago•65 comments