Round trip for the Kotlin Native one is 0.015s vs ...
# kotlin-native
n
Round trip for the Kotlin Native one is 0.015s vs 0.581s for the Python one 😀 .
👍 4
Check out the unofficial Kotlin Native template to get started with OpenFaaS: https://gitlab.com/napperley/openfaas-kotlin-native-template
o
What’s “roundtrip”?
n
Roundtrip is the amount of time it takes to get a response back from the Function.
s
after running it over and over, those are still the times? How is half a second acceptable for a python run? Surely it warms up?
n
Should mention the round trips are the cold start times (worst case).
The OpenFaaS functions do warm up. With a basic Kotlin Native OpenFaaS function the round trip can drop down to 0.01s (best case); wondering if the OpenFaaS Web Portal is displaying a rounding error 😆. Haven't recorded the warm up time for the Python OpenFaaS function.