For a single Daml command submission for which I need the resulting Transaction, is there a difference in Canton latency across the following 3 approaches:
- Use
submit
to submit the command, listen to its result on TransactionStream - Use
submitAndWait
to submit the command, listen to its result on TransactionStream - Use
submitAndWaitForTransaction
to submit the command and hence get result back in the same call
My understanding is that the only difference would be in how many requests I can get through per second to the participant node API using a single thread in my Java client. I would expect Canton would take the same amount of time to process the transaction in each of the 3 cases above, i.e., the point in time the command hits the pNode’s gRPC API to the point in time the resulting Transaction is emitted out of the API.
Is my understanding correct?