Fork me on GitHub
#datalog
<
2023-05-17
>
travis21:05:10

hi folks - I'd like to write a little web utility that lets me run datalog queries that will eventually be transformed into a series of DynamoDB queries - anyone have any libraries they'd recommend for some or all of the datalog -> DynamoDB query translation? I know I'll might need to design my DynamoDB tables to make this possible and to be honest, those design constraints are my primary interest right now, so if anyone has any thoughts on that I'd be grateful for them as well. I feel like Datomic must do at least some of this but if the code that does it is open source I couldn't find it...

refset21:05:27

Hello! Roughly how much data is going to be in Dynamo? Are you hoping for low-latency point queries and/or fast scans / aggregations? Joins will have to happen somewhere that isn't Dynamo, I expect, unless you know all your queries ahead of time and can construct the necessary secondary indexes per query

refset21:05:53

In principle XTDB could use Dynamo as a remote KV store (e.g. see my old work on https://github.com/xtdb-labs/crux-redis) but that line of exploration is probably too far from optimal for anything useful in practice...given that XTDB is (currently) predicated on fast random-access to a local KV store 🙂