Hi There, I was wondering if it is required to have a read-replica of the contract store in front of the DAML ledger to service the high volume read requests? To explain our usecase, We have a contract store which grows over the period of time and when a user tries to get a list of records from the ledger (a wild card query) it seems DAML is responding with all the records in the ledger instead of responding with a result set. So my question is can we configure the DAML in such a way that the records are filtered to suit the client request? If not what is the best way to handle such a situation as currently our java application which sits infront of the ledger is struggling to handle the big response coming back from Ledger.
Our setup is UI → Java Application → JSON API → DAML(daml-on-sql)