frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Solidis – Tiny TS Redis client, no deps, for serverless

https://github.com/vcms-io/solidis
44•jayl-e-e•10h 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•9h ago
What makes Solidis more performant than other Redis clients like ioredis or redis
jayl-e-e•2h 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•5h 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•3h 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•36m ago
Improvement deployed!

Wow@Home – Network of Amateur Radio Telescopes

https://phl.upr.edu/wow/outreach
87•visviva•5h ago•1 comments

Getting AI to write good SQL

https://cloud.google.com/blog/products/databases/techniques-for-improving-text-to-sql
287•richards•10h ago•142 comments

XTool – Cross-platform Xcode replacement

https://github.com/xtool-org/xtool
71•TheWiggles•5h ago•19 comments

A Linux kernel developer plays with Home Assistant: general impressions

https://lwn.net/SubscriberLink/1017720/7155ecb9602e9ef2/
52•pabs3•4h ago•15 comments

Show HN: Fahmatrix – A Lightweight, Pandas-Like DataFrame Library for Java

https://github.com/moustafa-nasr/fahmatrix
20•mousomashakel•2h ago•4 comments

Thoughts on thinking

https://dcurt.is/thinking
401•bradgessler•12h ago•256 comments

A Research Preview of Codex

https://openai.com/index/introducing-codex/
420•meetpateltech•16h ago•332 comments

Show HN: KVSplit – Run 2-3x longer contexts on Apple Silicon

https://github.com/dipampaul17/KVSplit
236•dipampaul17•11h ago•35 comments

New high-quality hash measures 71GB/s on M4

https://github.com/Nicoshev/rapidhash
41•nicoshev11•2d ago•15 comments

Rustls Server-Side Performance

https://www.memorysafety.org/blog/rustls-server-perf/
89•jaas•3d ago•15 comments

Show HN: Merliot – plugging physical devices into LLMs

https://github.com/merliot/hub
37•sfeldma•6h ago•7 comments

MIT asks arXiv to withdraw preprint of paper on AI and scientific discovery

https://economics.mit.edu/news/assuring-accurate-research-record
292•carabiner•16h ago•149 comments

JavaScript's New Superpower: Explicit Resource Management

https://v8.dev/features/explicit-resource-management
5•olalonde•2h ago•0 comments

ClojureScript 1.12.42

https://clojurescript.org/news/2025-05-16-release
145•Borkdude•11h ago•26 comments

MCP: An in-depth introduction

https://www.speakeasy.com/mcp/mcp-tutorial
58•ritzaco•3d ago•19 comments

I'm Peter Roberts, immigration attorney, who does work for YC and startups. AMA

205•proberts•16h ago•364 comments

Coding agent in 94 lines of Ruby

https://radanskoric.com/articles/coding-agent-in-ruby
91•radanskoric•2d ago•34 comments

Show HN: Visual flow-based programming for Erlang, inspired by Node-RED

https://github.com/gorenje/erlang-red
215•Towaway69•16h ago•93 comments

Japan's IC cards are weird and wonderful

https://aruarian.dance/blog/japan-ic-cards/
5•aecsocket•1d ago•3 comments

X X^t can be faster

https://arxiv.org/abs/2505.09814
174•robinhouston•15h ago•51 comments

The Joys of Discovering the Roman Underground

https://www.smithsonianmag.com/travel/the-joys-of-discovering-the-roman-underground-from-the-colosseum-to-whats-beneath-the-trevi-foundation-180986626/
11•ulrischa•1d ago•1 comments

A Linux kernel developer plays with Home Assistant: case studies

https://lwn.net/SubscriberLink/1017945/93d12d28178b372e/
38•pabs3•5h ago•21 comments

WebGL Gray-Scott Explorer (2012)

http://www.mrob.com/pub/comp/xmorphia/ogl/index.html
21•joebig•6h ago•2 comments

The first year of free-threaded Python

https://labs.quansight.org/blog/free-threaded-one-year-recap
260•rbanffy•21h ago•257 comments

Hunting extreme microbes that redefine the limits of life

https://www.nature.com/articles/d41586-025-01464-7
8•gnabgib•2d ago•1 comments

Will AI systems perform poorly due to AI-generated material in training data?

https://cacm.acm.org/news/the-collapse-of-gpt/
90•pseudolus•7h ago•98 comments

Behind Silicon Valley and the GOP’s campaign to ban state AI laws

https://www.bloodinthemachine.com/p/de-democratizing-ai
59•spenvo•4h ago•22 comments

Java at 30: Interview with James Gosling

https://thenewstack.io/java-at-30-the-genius-behind-the-code-that-changed-tech/
186•chhum•18h ago•274 comments

They Were Identical 'Twinnies' Who Charmed Orwell, Camus and More

https://www.nytimes.com/2025/05/04/books/review/the-dazzling-paget-sisters-ariane-bankes.html
23•lermontov•8h ago•6 comments

The Magic Hours: The Films and Hidden Life of Terrence Malick

https://www.lrb.co.uk/the-paper/v47/n09/david-thomson/cool-tricking
58•mitchbob•13h ago•34 comments