Stoolap/Node: A Native Node.js Driver That's Surprisingly Fast
stoolap.io
stoolap.io
So for a great many workloads, particularly multi-user, SQLite will be faster overall, as most application workloads will have many simple single/few row lookup operations per single/few row update operations, and an order of magnitude less complex analytical queries.
But this should be much faster for genuine analytical operations, and better suited to them due to support for things like temporal storage and queries.
Basically the age-old distinction between optimising for OLTP or OLAP operations.
But I still agree - if the benchmark was in memory, Stoolap might be optimized for speed. Sqlite is optimized for persistence, so you have to benchmark on disk and compare how it performs when writes fail.
I can tell you, for sure, that 0.01ms -> 0.001ms is a massive win in plenty of these environment.
Examples:
* embedded systems
* GPU code
* tight loops in C/Rust
and probably hundreds of other examples.
NAPI-RS has no serialisation overhead?
Stool means both stool (a backless chair, usually thought of as wooden with three or four fixed legs but the lack of back is the defining feature and those made of other materials and/or with more legs are still called stools) and stool (solid excrement, as in “stool sample”) in English too.
IIRC the something-to-sit-on meaning came directly from one of English's Germanic influences, we just use it for a different/specific kind of seat, and the association with excrement came either from toilet seats (privy stools) generally or the royal position “groom of the stool” (where it meant cleaning both the privy stool and the royal backside that made that need cleaning).
I wonder if the German language took the second meaning back from English later, or if they both developed at the same time for the same reason at a point when there was shared influence between English and German royal courts.
> So, what's an "ap" then?
In this context my mind went to application. StoolAp sounds like a digestive tracking “health management” tool someone with a scatological bent might have on their phone!
> I wonder if the German language took the second meaning back from English later, or if they both developed at the same time for the same reason at a point when there was shared influence between English and German royal courts.
I would bet on the second one!
I guess I'm a bit confused but don't want to read AI fuzz further
What makes you say that?
a project that went Go -> Rust -> Node?
The DB went from Go to Rust. The Node part is the Node DB driver
Does it not bind to your already built Rust tool?
It's in the 3rd paragraph.
I guess I'm a bit confused but don't want to read AI fuzz further
Personally, I'd learn to get used to it.
No X in between. No Y overhead. Just your Z.
> Personally, I'd learn to get used to it.
Getting used to it doesn't mean I have to start liking it!
ai;dr is a valid enough reaction IMO, much the same as “can't read without turning off my stalker blocker, fair enough, I'll go elsewhere”. You might think that I'm going to miss out on stuff, I might think that I'm perfectly fine missing out on that stuff and doing something else instead.