daml/triggers/tests
Stefano Baghino 9af85e56e9
Introduce DAML-LF value caching for transaction service (#6052)
* Introduce DAML-LF value caching for transaction service

Allows to keep the DAML-LF values in the most recently indexed events in memory,
so that they don't have to be deserialized on the client from their Protobuf encoding.

Closes #6044

CHANGELOG_BEGIN
[Sandbox] The --max-lf-value-translation-cache-entries option allows to set a
number of events for which DAML-LF values are cached. Could reduce latency in
serving transactions for consumers that are reasonably fast.
CHANGELOG_END

* Add missing dependency

* Address https://github.com/digital-asset/daml/pull/6052#discussion_r428076003

* Update ledger/sandbox/src/main/scala/com/digitalasset/platform/sandboxnext/Runner.scala

Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com>

* Address https://github.com/digital-asset/daml/pull/6052#discussion_r428071324

* Address https://github.com/digital-asset/daml/pull/6052#discussion_r428076905

* Address https://github.com/digital-asset/daml/pull/6052#discussion_r428081294

* Fix fatal warnings

* //ledger/caching has to be used whenever sandbox is run

Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com>
2020-05-26 08:33:53 +00:00
..
daml Add maxInboundMessageSize param to trigger service (#6000) 2020-05-15 13:52:59 +00:00
scenarios replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
src/test/scala/com/digitalasset/daml/lf/engine/trigger/test DAML-LF: Kill RelativeContractId (#5991) 2020-05-25 22:30:45 +02:00
BUILD.bazel Introduce DAML-LF value caching for transaction service (#6052) 2020-05-26 08:33:53 +00:00
list-triggers.sh replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00