What are your thoughts when the single app consumes both OnPrem and Client APIs, our app is built on using OnPrem solution everything is good until we have a lot of instances which are allocated a lot of memory for to execute queries. We tried Client API and were surprised that queries are executed faster and some of them consume less memory. The answer why we still need OnPrem API is ability to listen on transactions and it is convenient to use entity API to get attributes data on demand, we are getting entity IDs from queries and then get entity for each returned ID. But there is a question for the next case: if to transact data through Client API and get entity from database returned from OnPrem connection using function datomic.api - Datomic Clojure API documentation, is there any guaranties that the function returns the database which represents the last available data on transactor side? Doc says: Retrieves a value of the database for reading. Does not communicate with the transactor, nor block.
So, looks like no
P.S. Looks like the only guaranty to have full sync between Client and OnPrem connections if to use datomic.api - Datomic Clojure API documentation passing t gotten from transaction previously sent though client connection