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
submitto submit the command, listen to its result on TransactionStream - Use
submitAndWaitto submit the command, listen to its result on TransactionStream - Use
submitAndWaitForTransactionto 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?