-
Hi, I'm using using fortio to perform few benchmarking TCs for my service (based on envoy). I'm mainly interested to measure performance for pure TCP and TLS (mutual and simple) connections. Basically I collected the first results testing tcp and tls performance without explicitely set the payload size: e.g from fortio client: For TCP, CMD:
For mTLS, CMD:
If I don't set anything related to the payload in the fortio client and fortio server, what is default size for the payload in the TCP and TLS queries? I tried to specify a file as payload input for the CMD apply from fortio client but I noticed that increasing the size of payload over a certain value I'm able to see some issues (TCP short read, bytes received < byte sent). Is there any reason for it? Any indication to setup correctly fortio client/server changing the payload size? The results below are obtained only using fortio client/server without adding anything in the middle to prevent any question on the service in the middle and just focus on this item (supported payload configuration). Thanks for the support! Details from TCs:
edited: use ``` not other quotes for blocks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The default tcp:// load is 24 bytes
As you found you can change the payload using
But it does seem there is an issue for payloads > 32768. (32k) |
Beta Was this translation helpful? Give feedback.
-
filled #547 for payloads over 32k |
Beta Was this translation helpful? Give feedback.
-
bug is fixed in https://github.com/fortio/fortio/releases/tag/v1.26.0 and I hope I answered your questions |
Beta Was this translation helpful? Give feedback.
bug is fixed in https://github.com/fortio/fortio/releases/tag/v1.26.0 and I hope I answered your questions