# Credits for a one-million-connection Phoenix benchmark (open source)

**URL:** <https://community.fly.io/t/credits-for-a-one-million-connection-phoenix-benchmark-open-source/28949>\
**Category:** General\
**Created:** [October 29, 2026, 8:52am UTC](https://community.fly.io/t/credits-for-a-one-million-connection-phoenix-benchmark-open-source/28949 "2026-10-29T08:52:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mandar1045](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/mandar1045/32/51244_2.png) [@mandar1045](https://community.fly.io/u/mandar1045)\
**Post date:** [October 29, 2026, 8:52am UTC](https://community.fly.io/t/credits-for-a-one-million-connection-phoenix-benchmark-open-source/28949/1 "2026-10-29T08:52:11Z")

</div>

> Hi [Fly.io](http://Fly.io) team,
> 
> I’m Mandar. I maintain Stampede ([GitHub - mandar1045/stampede: Load testing for Phoenix: Channels, LiveView, HTTP and WebSockets, in plain Elixir · GitHub](http://github.com/mandar1045/stampede)), an open-source load tester written in Elixir that speaks the Phoenix Channels and LiveView protocols directly, so you can load test a Phoenix app with Elixir code instead of hand-rolled WebSocket frames.
> 
> I’d like to answer a question people keep asking about Phoenix with a fresh, reproducible number: how many connections can one Phoenix server hold today? Here’s what I’ve measured so far on my laptop:
> 
> - 12,000 LiveView users on a fresh production-mode Phoenix 1.8 app, with joins under 12ms at p95 and no errors
> - 60,000 Channels connections, with no errors
> - About 42 KB of server memory per held Channels connection and about 105 KB per LiveView user
> 
> The next step is a million connections to a single Phoenix server, which needs more than my laptop. I’ve already built and tested the whole setup: the app, the scenarios, kernel and BEAM tuning, and scripts that start everything, run the test, collect the results and tear it all down. It’s in the repo under bench/million.
> 
> I’d love to run it on Fly. For a few hours I’d need one performance machine with 128 GB of RAM (256 GB to push LiveView to a million) and four or five smaller machines to generate the load. I’d publish everything: the code to reproduce it, the raw results, and a write-up of what held and what broke, credited to [Fly.io](http://Fly.io).
> 
> Would you be open to giving some credits for this? Happy to share more details or adjust the plan to whatever works for you.
> 
> Thanks,  
> Mandar Joshi  
> [mandar1045 (Mandar Joshi) · GitHub](http://github.com/mandar1045)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [November 8, 2026, 8:52am UTC](https://community.fly.io/t/credits-for-a-one-million-connection-phoenix-benchmark-open-source/28949/2 "2026-11-08T08:52:53Z")

</div>

Closed on November 8, 2026, 8:52am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
