logoalt Hacker News

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

23 pointsby murat3oktoday at 6:09 AM15 commentsview on HN

Comments

tekkktoday at 11:31 AM

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

ramon156today at 8:54 AM

I would like to see the actual test harness. A 100x improvement is do-able (you're trimming features basically) but I would like to see how you tested it

show 1 reply
z3t4today at 7:31 AM

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.

show 1 reply
pdyctoday at 7:49 AM

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.

ramon156today at 8:53 AM

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

show 1 reply
ignoramoustoday at 8:47 AM

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

NAPI-RS has no serialisation overhead?

petesergeanttoday at 7:27 AM

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

show 1 reply