openfaas / faas

OpenFaaS - Serverless Functions Made Simple
https://www.openfaas.com
MIT License
25.06k stars 1.93k forks source link

how OpenFaaS handles concurrent requests in the function? #1806

Closed wiluen closed 1 year ago

wiluen commented 1 year ago

I develop a python code for image process, when i send lots of request to the function, I can see many "forking fprocess" in logs, it can handle many request concurrently, but my python code don't use any "async", Whether OpenFaaS framework provides the ability for functions to process requests concurrently?

alexellis commented 1 year ago

All requests are processed concurrently - whichever template you use.

There's no detail or context whatsoever here, and you've deleted the issue template. If you want us to be able to help you, you need to fill out all the questions and provide sample code or an example we can run.