Re: [go-nuts] Re: HTTP client timeout

2023-05-05 Thread Jan Mercl
On Fri, May 5, 2023 at 4:21 PM envee wrote: > > Thanks Jan. > My interface speed is 20 Gb/s > The payload size is about 2.8Kb. > So at 9000 Txn/s this works out to 9000 x 3 ≅27MB/s ≅ 200 Mb/s (This matches > the so (socket out) value shown in my atop command output) > I guess the interface speed

Re: [go-nuts] Re: HTTP client timeout

2023-05-05 Thread Robert Engels
I mean you can use curl to simulate the 1000’s of clients (depending on protocol dependencies) > On May 5, 2023, at 9:23 AM, envee wrote: > > Hi Robert, Yes I have tried HTTP request via curl. That yields a response in > about 200ms. > >> On Friday, 5 May 2023 at 22:56:58 UTC+10 Robert

Re: [go-nuts] Re: HTTP client timeout

2023-05-05 Thread envee
Hi Robert, Yes I have tried HTTP request via curl. That yields a response in about 200ms. On Friday, 5 May 2023 at 22:56:58 UTC+10 Robert Engels wrote: > Have you tried using curl as the client in order to narrow down the > problem? > > On May 5, 2023, at 7:45 AM, envee wrote: > > An update.

Re: [go-nuts] Re: HTTP client timeout

2023-05-05 Thread envee
Thanks Jan. My interface speed is 20 Gb/s The payload size is about 2.8Kb. So at 9000 Txn/s this works out to 9000 x 3 ≅27MB/s ≅ 200 Mb/s (This matches the so (socket out) value shown in my atop command output) I guess the interface speed is sufficient ? On Friday, 5 May 2023 at 23:01:22 UTC+10

Re: [go-nuts] Re: HTTP client timeout

2023-05-05 Thread Jan Mercl
On Fri, May 5, 2023 at 2:45 PM envee wrote: > Still, I don't understand why I cannot achieve higher throughput than 9000 > per second. What is the max bitrate of the network interface used in the measurement and what is the size of the payload that has to get through for every connection? --

Re: [go-nuts] Re: HTTP client timeout

2023-05-05 Thread Robert Engels
Have you tried using curl as the client in order to narrow down the problem? > On May 5, 2023, at 7:45 AM, envee wrote: > > An update. > The VM on which I am running has 40 vCPUs. > I changed my GOMAXPROCS to a lower value of 8. > And also changed my client to use 90 HTTP/2 connections

[go-nuts] Re: HTTP client timeout

2023-05-05 Thread envee
An update. The VM on which I am running has 40 vCPUs. I changed my GOMAXPROCS to a lower value of 8. And also changed my client to use 90 HTTP/2 connections towards the HTTP/2 server. With this setup, I can now achieve about 9000 Txns per second. However, if I go any higher than that, my client