Description
At present, whilst single outbound requests are supported; neither Spin nor Cloud supports being able to run multiple concurrent outgoing requests.
This includes Redis, Postgres, MySQL, Key/Value and HTTP requests.
This could present a limitation to a user who is planning on building their application on Spin/Cloud. The following paragraph is a little more information Re: time/resources/practicability of having multiple concurrent outgoing requests supported.
One plan is to add first-class support for structured concurrency (which is needed for concurrent outgoing requests) to the WASI Component Model and WASI Preview 3. The timeline for such a task to be completed could take at least one year.
In the meantime, if concurrent outgoing requests are a high priority, then we could potentially emulate concurrent outgoing HTTP requests using WASI Preview 1 or 2 polling (a WASI API for waiting for I/O events on multiple handles).