Difference between type = "requests" and type = "connections" in services.concurrency?

What’s the difference between those?!

The requests type would be applicable to apps using the http handler. But you can still use the connections type, even for those.

A single connection could support multiple requests.

So which to use would depend on which type is more appropriate for your app and what causes its load.

Check this answer from Jerome for more detail (talking about Elixir but the same idea applies to other apps):

1 Like