nallwhy
How can I increase max concurrent request of Phoenix on fly.io?
I made a toy project that provides a simple API for testing.
This project is served via fly.io.
Here is my fly.io configuration below. I configured services.concurrency.hard_limit to 10000.
https://github.com/nallwhy/json_corp/blob/main/fly.toml
I wanted to do a load test for this project. Below is the code I used for the load test.
https://github.com/nallwhy/test_api/blob/main/notebooks/load_test.livemd
When I run the code that tests with req, about 200 requests returns ok and other requests returns error %Mint.TransportError{reason: :closed}.
How can I increase max concurrent request of Phoenix on fly.io?
Marked As Solved
msimonborg
There was a discussion about this on the fly.io community forum a few days ago max concurrency can not be greater than 300 - #4 by fxsjy - Fly.io
I think that the issue is exactly what you’re experiencing here, and was answered by the fly team.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









