GoogleCloudPlatform / functions-framework-dart

FaaS (Function as a service) framework for writing portable Dart functions
https://pub.dev/packages/functions_framework
Apache License 2.0
535 stars 54 forks source link

No support for Parallelism #477

Open LeeMatthewHiggins opened 1 month ago

LeeMatthewHiggins commented 1 month ago

Am I missing something? using wrong? It looks like the current system will only handle one request at a time????

run.dart line 27 shelf_io.serve( Does not have shared = true and No isolates are created

I have functions running on cloudrun that mostly call other services, it would be good to be able to process more than one at a time.

kevmoo commented 1 month ago

Correct, the current configuration does not (explicitly) support multiple isolates, but I/O in Dart is concurrent, so you WILL be handling (many) more than one request at a time.

But this is a good feature request!