How to get throughput and processing latency when testing Flink with hibench?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to get throughput and processing latency when testing Flink with hibench?

penguin.

When using hibench to test Flink, the jobs submitted are built-in applications of hibench, that is, the code logic of programs like wordcount cannot be changed.

How can I get the throughput and processing delay of Flink?

In addition, in the /report/hibench.report file of hibench, we can't get the throughput information of Flink. The contents of /report/hibench.report are as follows:

TypeDateTimeInput_data_sizeDuration(s)Throunghput(bytes/s)Throunghput/node
FlinkFixWindow2021-05-1716:17:58088.59900
FlinkFixWindow2021-05-1716:33:120872.98200
FlinkFixWindow2021-05-1716:53:290301.52400
FlinkFixWindow2021-05-1717:09:220880.09800


 

Reply | Threaded
Open this post in threaded view
|

Re: How to get throughput and processing latency when testing Flink with hibench?

Nicolaus Weidner
Hi,

Flink allows to enable latency tracking [1] and exposes several metrics that might be what you are looking for [2, look for e.g. "numRecordsIn" or "numBytesIn"]. You can query these metrics using the REST API [3] or by registering a metrics reporter [4] that exposes them. As noted in the other email, I cannot speak about what hibench does and why it cannot show any throughput information for Flink. Even Flink 1.0.3 seems to expose some metrics (just going by the docs [5] here, I was not involved back then).

Best wishes,
Nico


On Mon, May 17, 2021 at 2:49 PM penguin. <[hidden email]> wrote:

When using hibench to test Flink, the jobs submitted are built-in applications of hibench, that is, the code logic of programs like wordcount cannot be changed.

How can I get the throughput and processing delay of Flink?

In addition, in the /report/hibench.report file of hibench, we can't get the throughput information of Flink. The contents of /report/hibench.report are as follows:

TypeDateTimeInput_data_sizeDuration(s)Throunghput(bytes/s)Throunghput/node
FlinkFixWindow2021-05-1716:17:58088.59900
FlinkFixWindow2021-05-1716:33:120872.98200
FlinkFixWindow2021-05-1716:53:290301.52400
FlinkFixWindow2021-05-1717:09:220880.09800