Fork me on GitHub
#datomic
<
2016-07-23
>
robert-stuttaford07:07:30

@michaeldrogalis: know that scanning the datomic log does not benefit from peer caching at all. you want to avoid any sort of regular query on the transaction log directly

michaeldrogalis19:07:34

@robert-stuttaford: Thanks Robert, I actually didn't know that. I ended up putting a UUID attribute with noHistory on the API key component, and I rotate a new UUID in everytime I make an API call. It's not pretty, but it yields a constant time look up and still maintains a ref on every API call back to the API key.

robert-stuttaford19:07:54

not a bad way to go: you're trading storage for compute. storage is cheaper 🙂