3 ms·
Datomic is like git. You are working with a heavily lazy cloned copy, where only the parts that matter are cached locally. This "perfect" caching is enabled by
by dustingetz 13y ago
Datomic is like git. You are working with a heavily lazy cloned copy, where only the parts that matter are cached locally. This "perfect" caching is enabled by an append-only data model, like git; queries don't touch network, like git. This has huge ramifications across the board, both obvious (omg free queries, horizontal read scalability) and subtle (no object relational impedance mismatch).
- coolsunglasses 13y agoFree queries modulo the degree to which all your queries touch the same data and you can store the entities you touch in memory. You could hypothetically thrash the LRU by working with a large dataset and forcing the LRU to cyclically evict the data, but even the pathological case is at worst identical to how SQL databases work.