Stoolap/Node: A Native Node.js Driver That's Surprisingly Fast

6 hours ago (stoolap.io)

But what is stoolap's binary size? Specifically, WASM size? wa-sqlite is 1.2 MBs.

I dont think the micro benchmarks are fair, as it really doesn't matter if something takes 0.01 ms or 0.001 ms even if its 10x faster.

  • Until it does ;)

    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.

interesting, github says works for both olap+oltp but it was for go, does the same apply to rust as well? I want to try it in browser is wasm available somewhere or is there any plan to support it? [Edit] looks like it is available for browser here https://stoolap.io/playground/ i will be trying it with my product this weekend, excited to see how it goes.

Blog post written with an LLM, a project that went Go -> Rust -> Node? Also, is it really native? Does it not bind to your already built Rust tool?

I guess I'm a bit confused but don't want to read AI fuzz further

  • Blog post written with an LLM

    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.

    • > > 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.

      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.

> No serialization overhead. Just your Node.js process talking directly ... through native bindings.

NAPI-RS has no serialisation overhead?

Stoolap looks pretty interesting, anyone want to share their experience of using it?

  • Never used it but I’ll chime in that the naming choice is unfortunate. For me as an English speaker it collides with stool, a term for excrement.

    • So, what's an "ap" then? As a German speaker I am used to the word "stuhl" too. Which means both "stool" and also "chair". So I sit myself on stool every single day!

    • well I wouldn't pronounce it Stool - ap I would go with Stoo - lap. So people's chosen pronunciations may vary.