frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Lux – Drop-in Redis replacement in Rust. 5.6x faster, ~1MB Docker image

https://github.com/lux-db/lux
58•mattyhogan•3h ago

Comments

mattyhogan•3h ago
I built Lux because Redis is single-threaded and hasn't changed architecturally since 2009. Lux uses a sharded concurrent architecture in Rust with per-shard reader-writer locks, zero-copy RESP parsing, and pipeline batching. It speaks RESP natively so every Redis client works unchanged. We benchmarked against Redis 7, Valkey 9, and KeyDB with redis-benchmark (50 clients, 1M requests) - full results in the README. The Docker image is ~1MB on ARM. MIT licensed, no plans to change that. If you don't want to self-host, there's managed hosting at luxdb.dev. Happy to answer questions about the architecture or benchmarks.
karunamurti•1h ago
Are the commands fully compatible with Redis? We use a lot of commands like TTL PTTL EXPIRE PEXPIRE to create various rate limiters.
redfloatplane•1h ago
Just a minor thing - your readme claims “MIT licensed forever” but here you say there are “no plans to change that”. Those are different things!

Cool project.

deminature•1h ago
Adding some tests that prove equivalent functionality to Redis would make people much more likely to adopt this. Very cool project otherwise.
0xMohan•58m ago
I'm not a DB expert but from what I know, theoretically multi-threading might not bring the performance boost you might expect as on real-world deployment higher contention & latency will kill your throughput as a result your performance would be bad because shared locks will be held longer.

So lock-free single threaded with event-loops DBs should in most cases (when implemented properly) outperform the multi-threaded DBs with shared locks in a high contention & latency environment.

But you claim Lux is more performant than Redis & Valkey, I have no idea on the internals of Lux or the benchmark environment to reject your claims. As more people try it in real workloads, we'll know the actual performance of Lux.

mholubowski•1h ago
Why isn’t this getting any love? What’s the catch?
s900mhz•1h ago
Looks like the repo is very young.

First thing to do is try it out in a hobby project see how it works out!

kay_o•1h ago
not excited trusting their data storage to a vibe coded database without a single unit test
nvme0n1p1•1h ago
Because it's AI slop that some grifter vibecoded yesterday with no unit tests that supports about 2% of Redis's feature set (notably missing transactions and any attempt at data integrity)
bmcahren•52m ago
Those with a bit more experience understand faster is not always better. Databases thought to be battle-tested encounter incredibly complex and near impossible to predict failures of the most absurd kind. You can go back and look at some crazy behavior hundreds of people have worked to resolve regarding TTL contracts within Redis.

The ease of "appearance of value" today is the uncanny valley for software. The repo looks professionally organized, you can PAY for it, the preliminary benchmarks are looking good. Overlooked are the testing, validation, backup, failure recovery, practical behaviors, and most importantly: honesty.

These projects would get more love if it was declared up front that they were heavily AI generated projects and shouldn't be used in production since it has the air of practical utility.

It's probably a great drop-in replacement for Redis for a raspberry pi project that has low stakes. The smaller 1MB disk footprint and the performance difference could be impactful. Personally, I wouldn't be using this in production for at least a few years after hobbyists have their go at revealing its hidden near-guaranteed flaws.

At least I can broach TTL issues and gather reasonable insight on Redis vs Elasticache nuance based on the thousands who have encountered the issues.

whattheheckheck•25m ago
Who cares about the 1mb image?
ArchieScrivener•1h ago
Very cool. Clean.
japgolly•1h ago
Good read here - https://www.luxdb.dev/architecture
ares623•1h ago
Rivetting
kaoD•1h ago
Discussion in Rust's subreddit, with some fair criticism: https://old.reddit.com/r/rust/comments/1ruq7tk/lux_a_rust_re...

Some highlights that made me think:

> It's easy to say you're faster if you don't actually support everything or maybe even made a mistake.

> I don't see any tests so I wouldn't use this.

---

> the repo has 5 commits and the first one is from 3 hours ago. "I've been working on" is probably more accurately "this morning I asked an ai to write this for me".

---

> The single-threaded design of redis was specifically so that operations are ordered sequentially, so that the WAL-like log would be replayable and you'd get the exact same state as when shutting down the server.

> Did you take any measures to ensure a sequential order of executed commands?

Bnjoroge•1h ago
yeah a repo with only about 18 or so commits and about 3 days of commit history is definitely not vibecoded
gerdesj•1h ago
There are six source files. No comments that I could see on a casual glance. It looks to me as vibed with post processing prompts enforcing minimalism.

To be fair, this thing is a bare bones effort, ie v1 release to public. It looks like there is no config file and associated processing which might add a fair bit of code but that is probably an include and a stanza or two.

If this is redis pared to the bone then it might actually fly. I suppose I ought to look at the source for redis to compare.

delduca•1h ago
I bet it does not support Lua scripting.
delduca•1h ago
What is the difference between your project and the linux fundation fork?
_pdp_•1h ago
Typically you wait OSS projects to mature before you add a cloud offering but I guess not in the age of AI.
rvz•1h ago
Sometimes, the test suite is a moat in open source and can be used to show you are a true 1:1 replacement with 100% compatibility, or with the test suite being closed source to protect against competing rewrites, just like with SQLite.

So this isn’t a “drop-in Redis replacement”. It has no tests at all to verify 1:1 Redis functionality and of course it is fully AI generated.

Avoid.

FergusArgyll•48m ago
What's the future of Show HN? What do I as a reader do? just never look at it again? wait until it's used by a million people? Do I have to read the code of every new project posted here? I guess get codex to read it?!?!

Canada's bill C-22 mandates mass metadata surveillance of Canadians

https://www.michaelgeist.ca/2026/03/a-tale-of-two-bills-lawful-access-returns-with-changes-to-war...
194•opengrass•3h ago•59 comments

Chrome DevTools MCP

https://developer.chrome.com/blog/chrome-devtools-mcp-debug-your-browser-session
285•xnx•5h ago•130 comments

The 49MB web page

https://thatshubham.com/blog/news-audit
246•kermatt•5h ago•143 comments

LLMs can be exhausting

https://tomjohnell.com/llms-can-be-absolutely-exhausting/
38•tjohnell•3h ago•25 comments

//go:fix inline and the source-level inliner

https://go.dev/blog/inliner
103•commotionfever•4d ago•32 comments

LLM Architecture Gallery

https://sebastianraschka.com/llm-architecture-gallery/
200•tzury•8h ago•14 comments

A new Bigfoot documentary helps explain our conspiracy-minded era

https://www.msn.com/en-us/news/us/a-new-bigfoot-documentary-helps-explain-our-conspiracy-minded-e...
24•zdw•2h ago•4 comments

Separating the Wayland compositor and window manager

https://isaacfreund.com/blog/river-window-management/
205•dpassens•9h ago•86 comments

What makes Intel Optane stand out (2023)

https://blog.zuthof.nl/2023/06/02/what-makes-intel-optane-stand-out/
171•walterbell•9h ago•113 comments

Bandit: A 32bit baremetal computer that runs Color Forth [video]

https://www.youtube.com/watch?v=HK0uAKkt0AE
5•surprisetalk•3d ago•0 comments

Glassworm Is Back: A New Wave of Invisible Unicode Attacks Hits Repositories

https://www.aikido.dev/blog/glassworm-returns-unicode-attack-github-npm-vscode
211•robinhouston•11h ago•123 comments

C++26: The Oxford Variadic Comma

https://www.sandordargo.com/blog/2026/03/11/cpp26-oxford-variadic-comma
106•ingve•4d ago•60 comments

Nasdaq's Shame

https://keubiko.substack.com/p/nasdaqs-shame
82•imichael•2h ago•19 comments

Learning athletic humanoid tennis skills from imperfect human motion data

https://zzk273.github.io/LATENT/
117•danielmorozoff•9h ago•22 comments

Stop Sloppypasta

https://stopsloppypasta.ai/
77•namnnumbr•7h ago•36 comments

Type systems are leaky abstractions: the case of Map.take!/2

https://dashbit.co/blog/type-systems-are-leaky-abstractions-map-take
15•tosh•4d ago•5 comments

In Memoriam: John W. Addison, my PhD advisor

https://billwadge.com/2026/03/15/in-memoriam-john-w-addison-jr-my-phd-advisor/
83•herodotus•8h ago•4 comments

A Visual Introduction to Machine Learning (2015)

https://r2d3.us/visual-intro-to-machine-learning-part-1/
309•vismit2000•13h ago•29 comments

Bus travel from Lima to Rio de Janeiro

https://kenschutte.com/lima-to-rio-by-bus/
110•ks2048•4d ago•42 comments

Kangina

https://en.wikipedia.org/wiki/Kangina
51•thunderbong•2h ago•3 comments

Show HN: Open-source playground to red-team AI agents with exploits published

https://github.com/fabraix/playground
12•zachdotai•1h ago•0 comments

Excel incorrectly assumes that the year 1900 is a leap year

https://learn.microsoft.com/en-us/troubleshoot/microsoft-365-apps/excel/wrongly-assumes-1900-is-l...
18•susam•51m ago•5 comments

Show HN: Free OpenAI API Access with ChatGPT Account

https://github.com/EvanZhouDev/openai-oauth
11•EvanZhouDev•2h ago•8 comments

Show HN: GDSL – 800 line kernel: Lisp subset in 500, C subset in 1300

https://firthemouse.github.io/
54•FirTheMouse•8h ago•13 comments

Ask HN: How is AI-assisted coding going for you professionally?

216•svara•8h ago•363 comments

Show HN: Signet – Autonomous wildfire tracking from satellite and weather data

https://signet.watch
103•mapldx•12h ago•30 comments

Animated 'Firefly' Reboot in Development from Nathan Fillion, 20th TV

https://www.hollywoodreporter.com/tv/tv-news/animated-firefly-reboot-in-development-nathan-fillio...
154•Amorymeltzer•6h ago•36 comments

Hollywood Enters Oscars Weekend in Existential Crisis

https://www.theculturenewspaper.com/hollywood-enters-oscars-weekend-in-existential-crisis/
118•RickJWagner•11h ago•379 comments

Show HN: What if your synthesizer was powered by APL (or a dumb K clone)?

https://octetta.github.io/k-synth/
74•octetta•11h ago•28 comments

Autoresearch Hub

http://autoresearchhub.com/
31•EvgeniyZh•1d ago•16 comments