Use a combined template id, party id index in the JSON API #10231
Labels
component/json-api
HTTP JSON API
team/ledger-clients
Related to the Ledger Clients team's components.
Milestone
I played around with the idea of adding the template id to the
stakeholders
view and adding a combined index. This seems to work very well and with this I can bump the ACS size by 4x (adding both more parties and more templates) and I get no meaningful slowdown as long as the result size stays the same (measuring db queries).Prototype at https://github.com/digital-asset/daml/commits/json-oracle-experiments-combined
So imho we should pursue this approach.
The text was updated successfully, but these errors were encountered: