by adamkl · 6y ago · 0 comments
That being said, I believe (it’s been a while since I looked at Crux), it actually maintains a separate set of Entity-Value-Attribute indices generated from the contents of the immutable series of documents stored in Kafka/RocksDB.
This should give you similar level of query power when compared to something like Datomic.
Disclaimer, I haven’t had any actual hands-on experience with either Crux or Datomic, so I could be wrong.
Once documents are ingested into the EAV-like indexes you can query everything much the same as a typical graph database, because all the ID references within the documents translate into edges within a schemaless graph of entities.
Crux's native query language is a flavour of Datalog but we also have a SQL layer in the works using Apache Calcite, for a more traditional relational feel.