For those interested in dead simple databases β Iβve made a https://youtu.be/t0gG1zzIT_c for https://github.com/ribelo/doxa by @huxley https://github.com/spacegangster/rf-doxa-etude Easiest diffing and syncing Iβve ever seen.
this looks exciting. also the first sentence reminds me of https://imgs.xkcd.com/comics/standards.png : D
when people say datascript is slow, I would like to see the instances it is slow, because when I used it, it was possible to optimize it quite well, and would be interesting where the different experience comes from, is it a different part of the API, is it the scale?
I measured it about 2 years ago - compared a simple datascript
setup with a simple custom solution similar to doxa
.
datascript
ended up being ~10 times slower, which was definitely noticeable on large tables that I usually deal with.
Hehehe, but pluralism is our strength! Is it easy to diff and patch in Datascript? Doxa is about balance, as I got it.
β€οΈ
I take 15 standards over a single standard any time π Better to have something to choose from π
@ashnur Doxa was not intended to be faster than datascript, because that's not its main problem for me. The fact that it is faster is a coincidence. And how slow datascript
is, let's see datalevin
, which despite the fact that it stores data on disk is several times faster than datascript
which keeps data in memory.
@p-himik doxa uses timbre, editscript and meander, so it may punch well above its perceived weight. Weβre about to find out
@p-himik while I trust you fully, note that this is still the same, we talk about datascript being slow without me seeing the instance when it's slow : )
https://github.com/juji-io/datalevin/raw/master/bench/datalevin-bench-query-01-05-2021.png
ok, can I see the code that generated the chart please? and yes, the talk about performance here is 100% independent of doxa and doxa's promises, I do realize and I do intend to try doxa out when I will have a bit more time
https://github.com/juji-io/datalevin/tree/master/bench/src-datascript/datascript_bench found it
doxa is a hobby project, don't expect too much
: ) in terms of precision or accuracy?
you can meet dragons
I am not a senior developer with 20 years of experience who knows exactly what he is doing.
only people who did the same thing for 20 years continuously know what they are doing π people who do new things, experience only teaches how little we know.
π
although I didn't quite hit the 20 years mark, maybe it will change in a couple years : D
How fast do you need to be though? For Lightpad occasional ~250ms queries over 10k-100k elements would be completely fine. But Iβve spent weeks writing and testing my own diff accumulation / patching solution.
fyi @tangj1122