-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scaling issues #156
Comments
Awesome, thanks @eigenraven. I'll rearrange the raw text above and split between this issue and faasm/faasm#504 for the Faasm-specific stuff. |
Thinking about the protobuf inefficiencies, because gRPC is gone, I don't think there's any reason not to convert everything to flatbuffers at this point |
Yes this was the ultimate aim when we started using FB, as it would remove many of the serialisation issues (all the |
This is a grab-bag of issues encountered when scaling Faasm and Faabric to many requests per second.
Solutions to most of these problems are implemented in this fork: https://github.com/auto-ndp/faabric
There is a corresponding issue in Faasm: faasm/faasm#504
n_executors * n_ports_per_executor
, which hits system-wide limits with a lot of Executors. Instead we could multiplex more/ all calls through a single socket. Because Executors are handled with separate threads, it would not be possible to cache the clients (as 0MQ sockets cannot be shared between threads). AFAICT Distributed Tests for MPI #260 should address this for MPI which was the main culprit.The text was updated successfully, but these errors were encountered: