Re:SpacetimeDB: A Short Technical Review
by slopinthebag on Thursday August 20, 2026 @08:03PM
(#49381954)
They're calling a hashmap behind a RwLock a "database"? Damnit I wish I had the capacity for grifting, I could be rich by now.
[ Parent
| on HN ]
Re:SpacetimeDB: A Short Technical Review
by cloutiertyler on Friday August 21, 2026 @11:08AM
(#49389295)
If you don't believe me, perhaps you'd believe the TigerBeetle team who also made their database single threaded by design.
Perhaps you'd be interested in reading our technical response: https://spacetimedb.com/blog/benchmarking
Re:SpacetimeDB: A Short Technical Review
by slopinthebag on Friday August 21, 2026 @12:54PM
(#49390818)
My comment was unrelated to benchmarking and I don’t see anything in that blogpost addressing my comment.
Also you’re spamming the same comment up and down this thread. Did this post upset you?
Re:SpacetimeDB: A Short Technical Review
by cloutiertyler on Friday August 21, 2026 @01:00PM
(#49390908)
Yes, of course it did. This article makes factually wrong claims about the database I've spent 6+ years building.
Your comment was about whether SpacetimeDB was "just a hashmap behind a RwLock" and the blog post I linked addresses that question. Namely, it does have a RwLock, but that is by design and produces better results than the alternative.
Re:SpacetimeDB: A Short Technical Review
by slopinthebag on Friday August 21, 2026 @01:53PM
(#49391651)
Better results than the alternative, assuming your use case is to find two accounts by indexed ID, check a balance, and update two rows. And you have a small in-memory dataset, tiny rows, indexed point lookups, very little application computation, no external I/O, no joins, no analytical queries, no large scans, no disk-capacity pressure, thousands of independent requests available for pipelining, and deliberate hot-row contention. Or in other words, you have the perfect conditions for a...hashmap behind an RwLock!
Hm I wonder why people find this benchmark unfair...
Re:SpacetimeDB: A Short Technical Review
by cloutiertyler on Sunday August 23, 2026 @09:48PM
(#49414406)
You're just describing OLTP transactions, which is exactly what OLTP benchmarks are designed to test.