[Question] Is there a better way to run multiple workers with service bindings?
I am working on an app with around 10 workers all connected through service bindings with one acting as a "gateway".
We used to use Miniflare 2 which allowed them to be sort of nested and we could run just the gateway which would automatically bind all the services. However, now that we have migrated to wrangler 3 we have to run each service individually and it's kind of a pain and a little bit chaotic.
I'm currently using this package to run all of them at once https://github.com/mysticatea/npm-run-all
I noticed in the docs for service bindings, they say that you should run each one separately. Just wanted to ask if anyone from the community has a similar use-case and other ways of doing this?
0 Replies