yolo007wizard
This ElixirConf talk blew my mind. Wanted to learn more and see if anyone else have had experiences like this? How does fly.io free tier scaling compare to azure / aws free tier? How many requests a month could it roughly handle assuming 1kb in and 1kb out, 2 seconds for each req?
Personally I’m a big serverless fan. I use Azure functions extensively at work for event driven webhook handling. Cold starts are not a big deal for our usecase but I understand its limitations for flows involving waiting users.
For Phoenix to hit feature parody imo it would need a mix generator for quick endpoint setup. The mix task would also need options for token auth via url query or body params. Bad or missing tokens return 403.
Example:
$ mix phx.gen.serverless -name your_serverless_func -auth url_query
would generate https://localhost/your_serverless_func?token=123 endpoint plus all the router / controller setup etc. All thats left to do is handle the plug from the controller and return response.
Trending in Discussions
Other Trending Topics
Latest Phoenix Threads
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
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #ai
- #phoenix_html
- #elixirconf-us
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming









