daml/language-support/scala
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
..
bindings scala/bindings: Remove the unnecessary @silent annotation. (#5904) 2020-05-08 09:39:02 +00:00
bindings-akka Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
bindings-akka-testing Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
codegen DAML-LF: Kill RelativeContractId (#5991) 2020-05-25 22:30:45 +02:00
codegen-sample-app Introduce DAML-LF value caching for transaction service (#6052) 2020-05-26 08:33:53 +00:00
codegen-testing Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
docs/codegen/source Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
examples Commenting out local maven repository config (#5452) 2020-04-06 11:55:13 -04:00