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

the function is too slow #5408

Open QWQyyy opened 1 year ago

QWQyyy commented 1 year ago

we set warm container 50. image but the TPS is too low, function respose too slow, we use K6 test it. image We hardware is 12vCPU and 32GB RAM K8s cluster, 3 nodes. image image

QWQyyy commented 1 year ago

image

QWQyyy commented 1 year ago

why the function Duration arrive 1m?

QWQyyy commented 1 year ago

and we function code don't have error image

QWQyyy commented 1 year ago

image result null is good, ideal. the thread only 10, but function can not work and timeout.

dgrove-oss commented 1 year ago

See https://github.com/apache/openwhisk-deploy-kube/blob/master/docs/k8s-custom-build-cluster-scaleup.md for some hints on how to configure the helm chart. The default settings are for development/testing at small scale

QWQyyy commented 1 year ago

See https://github.com/apache/openwhisk-deploy-kube/blob/master/docs/k8s-custom-build-cluster-scaleup.md for some hints on how to configure the helm chart. The default settings are for development/testing at small scale

Well, I have done some configuration on the helm chart before, but now it seems that I need to read further the documentation provided by you.