shirokovnv
Guys, your help wanted!
Can you give me a little proof of concept, due to what phoenix + cowboy
can handle millions of concurrent http-connections per 1 machine ?
Is it true, that in comparison to another languages, if you are using elixir + phoenix, you can, probably downscale your docker/k8s instances with your application to one erlang server?
Can you give me an example of some kind of “real” production benchmarks or share your expirience ?
I saw some syntetical tests, comparing Golang Http and Elixir Cowboy and Golang won, but with the slight advantage.
I have an expirience using Roadrunner which can boost PHP app performance a lot!
So, any help answering why elixir cowboy so unique will be appreciated.
Thanks!
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 4- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
LostKobrakai
I don’t think you’ll get the answers you’re looking for. Elixir/Phoenix is not the fastest language you can choose and likely never will be. The benefits of phoenix and the stack beneight it aren’t in raw speed, but in other places like error isolation, sane latency degredation under load, ….
Personally I’d sum it up as being able to get very far on a project with less complexity.
As for examples of scaling down you can look at the stories of bleacher report. They were able to scale down quite a bit by adopting elixir.
benwilson512
There are a lot of threads about this sort of thing already. I would suggest watching something like Sasa Juric’s talk here https://www.youtube.com/watch?v=JvBT4XBdoUE to get a sense of what makes Elixir’s runtime unique.
alejolcc
As @benwilson512 says, definitly you should watch that video. Is the zen of Elixir.
But as a quick answer to the why is faster, is because a combination of the Beam that can start very lightweight process plus how cowboy works, that start a new process for each request so each request in handled concurrently (better explained in the video)
AstonJ
I think you’ll like what @joeerl said about this
You can read it in full here:
https://joearms.github.io/published/2016-03-13-Managing-two-million-webservers.html