1

I am using the wrk HTTP benchmarking tool to test a server. And I am getting READ, WRITE as well as CONNECTION and TIMEOUT errors.

What I understand is:

  • CONNECTION errors, are caused by the refusal of a TCP connection. Which could involve every element in the connection chain (Client, ISP and Server).
  • TIMEOUT errors, are caused by the host failing to respond to a request within a certain time.

But what about READ and WRITE errors?

I would really appreciate, if someone could point me in the direction of a good resource?

Dexter
  • 2,462
  • 4
  • 24
  • 28
Felix
  • 667
  • 14
  • 28

1 Answers1

5

So what I understood from this code from the WRK repository is that.

WRITE ERROR’s happen when attempting to write on a connection, but it fails because of a closed socket on the server.

READ ERROR’s happen when attempting to read on a connection, but it fails because of a closed socket on the server.

Happy if anybody can confirm or refute that.

Felix
  • 667
  • 14
  • 28