# Single aggregated contracts vs data spread across multiple contracts - performance / design considerations

**URL:** <https://forum.canton.network/t/single-aggregated-contracts-vs-data-spread-across-multiple-contracts-performance-design-considerations/4597>\
**Category:** App Development\
**Created:** [May 23, 2022, 3:05pm UTC](https://forum.canton.network/t/single-aggregated-contracts-vs-data-spread-across-multiple-contracts-performance-design-considerations/4597 "2022-05-23T15:05:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![StephenOTT](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stephenott/32/3953_2.png) [@StephenOTT](https://forum.canton.network/u/StephenOTT)\
**Post date:** [May 23, 2022, 3:15pm UTC](https://forum.canton.network/t/single-aggregated-contracts-vs-data-spread-across-multiple-contracts-performance-design-considerations/4597/4 "2022-05-23T15:15:34Z")

</div>

@Gary_Verhaegen is a specific thread you would recommend? I had done a search for aggregation but did not see anything on the deeper trade-offs. This was the one that seems the more complex:

> [@Adding Increment Quantity Changes to a Contract](https://discuss.daml.com/t/adding-increment-quantity-changes-to-a-contract/3067/2):
>
> I may have interpreted your question overly broadly, trying to include every relevant topic I can think of, but here goes: In Daml, as in all purely functional languages, we use the definition of variable [given by Bob Harper here](https://existentialtype.wordpress.com/2013/07/22/there-is-such-a-thing-as-a-declarative-language/). That is, to say that you can replace i with i + 1 is not dissimilar from saying that you can replace 5 with 5 + 1, whereupon 5 ceases to exist any longer. But the below is allowed. template Ticker with owner: Party n: Int where signatory owner key …

---

_[View the full topic](https://forum.canton.network/t/single-aggregated-contracts-vs-data-spread-across-multiple-contracts-performance-design-considerations/4597)._
