3 ms·
One solution is to not cache queries, but cache data, as in the case with Datomic.
by fnordsensei 11y ago
One solution is to not cache queries, but cache data, as in the case with Datomic.
- drcode 11y agoOf course then you're sacrificing some of the authentication, potentially.
- sgrove 11y agoIt's worthwhile watching Nubank's talk on how they manage these things with Datomic on the backend [0] - providing a "complete" (filtered) database to the client, http caches for queries based on tx-time, and syncing mobiles data via transactions-since. Takes care of said concerns nicely - I'm just implementing this stuff today however, so I'm not sure how well it'll work in practice. [0] - https://www.youtube.com/watch?v=7lm3K8zVOdY https://www.youtube.com/watch?v=7lm3K8zVOdY