[HN Gopher] Show HN: Solidis - Tiny TS Redis client, no deps, fo...
___________________________________________________________________
Show HN: Solidis - Tiny TS Redis client, no deps, for serverless
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 10x 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.)_
Author : jayl-e-e
Score : 19 points
Date : 2025-05-16 21:20 UTC (1 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| badmonster wrote:
| What makes Solidis more performant than other Redis clients like
| ioredis or redis
___________________________________________________________________
(page generated 2025-05-16 23:00 UTC)