apache / openwhisk

Apache OpenWhisk is an open source serverless cloud platform
https://openwhisk.apache.org/
Apache License 2.0
6.56k stars 1.17k forks source link

How to count async Action invoke per second? Or count the total amount of asynchronous Action invoke? #5404

Open QWQyyy opened 1 year ago

QWQyyy commented 1 year ago

I want to count OpenWhisk's asynchronous execution TPS, and we only use wsk -i action invoke xxxx to invoke aysnc action, but I do not konw how to count invoke times for Calculate the Number of Action invoke per second. Thanks!

QWQyyy commented 1 year ago

Who can help me?

style95 commented 1 year ago

@QWQyyy I believe OW does not provide any useful tools or features for this. What you need to do is to count the number of actual execution per second on the invoker side but I think it's not straightforward.

Couldn't you use the synchronous call?

QWQyyy commented 1 year ago

@QWQyyy I believe OW does not provide any useful tools or features for this. What you need to do is to count the number of actual execution per second on the invoker side but I think it's not straightforward.

Couldn't you use the synchronous call?

Despite this, But I still have some ideas, such as using Prometheus to monitor indicators. The second way is to configure couchDB directly. We can query function call records in couchDB if it works well. Thanks.

QWQyyy commented 1 year ago

@QWQyyy I believe OW does not provide any useful tools or features for this. What you need to do is to count the number of actual execution per second on the invoker side but I think it's not straightforward.

Couldn't you use the synchronous call? @style95 I think synchronous call too slow, My team goal is 100,000-level TPS.