Fork me on GitHub
#xtdb
<
2022-03-02
>
nivekuil07:03:39

quick feedback: if I google "xtdb lucene" the top result is a doc for 1.19.0, and it's not immediately obvious that this is an older version (version # is pretty low contrast)

👍 1
refset10:03:23

well, I've had a relatively brief think about what could be done, but haven't had any good ideas.... suggestions are welcome 💡 Could increasing the contrast be enough? Or adding a thick border around the dropdown?

nate16:03:05

I've had a brief think as well, and adding a bit of color might help draw attention if the version is not current

nate16:03:24

Postgres does something similar for unsupported versions: https://www.postgresql.org/docs/9.6/ddl-constraints.html

refset16:03:28

ah yes, those banner warnings/messages looks like appropriate prior art, thank you!

match3719:03:25

Does typed attribute values such as map / vector have performance penalty in queries, comparing to simpler types such as string? Thought the engine will need parse that.

refset20:03:06

There should be no performance difference when actually performing the joins and index scans, since all that machinery operates using value hashes and ID hashes, but there is definitely additional serde cost at the boundaries of the query for handling composite values (or if you use Clojure fns inside the query). That said, I suspect by the time you really have to start worrying about this level of performance differences there will be a whole host of other low-hanging optimizations available with likely much bigger impact

refset20:03:29

What kind of data volumes are you working with?

match3721:03:57

Thanks! So you comments suggests I don't need to worry the performance at that level. I am just thinking the schema when looking at this. The volumes can be up to a million entities.

🙏 1
refset21:03:19

Cool, that doesn't sound massive so I expect you'll be safe for quite a while. As ever with these things though, profiling and measuring with your own unique system, data, & queries is an important part of the overall process, as it is really the only way to be confident about how things will work in production. Should you ever want to dig into XT and your app using a profiler to look for optimizations, I'm always happy to help or even pair 🙂

👍 1
match3722:03:01

I'm still in prototype stage. Thanks so much!

🙏 1