Clarification - Canton resource limit maxRate
App Development3 posts301 views1 likesLast activity Apr 2022
JA
jaypeedaOP
Apr 2022Hi team,
I’d like to confirm when you set up the maxRate (command / sec) in a Canton participant node.
Does it mean that if you set up the maxRate at 20 and you have a list of commands with 100 daml actions; you can submit 20 commands where each of the command contains 100 daml actions to the ledger API in one second?
Thanks and Regards,
Jean-Paul
AR
Arne_Gebert
Apr 2022Hi @jaypeeda,
That is correct. The maxRate as set in the resource limits only applies to the number of commands and not to the number of Daml actions within a command. You could submit those 20 commands/sec in your example.
Best,
Arne
JA
jaypeeda
Apr 2022Thanks !