Need a benchmark mode
xwu2git opened this issue · 1 comments
In the sample design, analytics and transcoded ADs are cached. It is not easy to benchmark sample performance. It would be good to have a special mode for benchmarking purpose. Here are some thoughts:
(1) Analytics and AD trasncoding are kicked off by Kafka messages. In the benchmark mode, we can initiate the requests in a batch to start the analytics and transcoding computation.
(2) The benchmark mode can be coded as a REST procedure and return the result in the REST result. Thus a simple curl command can initiate benchmarking and get the results back.
(3) For performance measurement, each component must submit its own performance data to the Kafka topic: workloads.
scale.html implemented a benchmark mode.