socketstcpwrk

How are read and write socket errors defined in the wrk HTTP benchmarking tool?


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:

But what about READ and WRITE errors?

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


Solution

  • 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.