# \#load-testing

**URL:** https://forum.elixirforum.com/tag/load-testing/840.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [40,000 chat users on Phoenix + Postgres hit three limits at once. How would you tune it?](https://forum.elixirforum.com/t/40-000-chat-users-on-phoenix-postgres-hit-three-limits-at-once-how-would-you-tune-it/77333)

<div class="topic-metadata">

**Author:** [@mandar1045](https://forum.elixirforum.com/u/mandar1045)\
**Replies:** 21\
**Last updated:** [November 17, 2026, 6:56am UTC](https://forum.elixirforum.com/t/40-000-chat-users-on-phoenix-postgres-hit-three-limits-at-once-how-would-you-tune-it/77333 "2026-11-17T06:56:30Z")

</div>

I load tested a plain Phoenix chat app backed by Postgres with 100 million messages in it, everything on default settings, to see what breaks first. It held 40,000 users with no errors. Past that, it didn’t hit one wall,…

---

## [Behest - contract-first workflow for AI-written Elixir (ExUnit + StreamData) and a BEAM language design. Feedback wanted](https://forum.elixirforum.com/t/behest-contract-first-workflow-for-ai-written-elixir-exunit-streamdata-and-a-beam-language-design-feedback-wanted/77339)

<div class="topic-metadata">

**Author:** [@ayarodionov](https://forum.elixirforum.com/u/ayarodionov)\
**Replies:** 4\
**Last updated:** [November 15, 2026, 12:51am UTC](https://forum.elixirforum.com/t/behest-contract-first-workflow-for-ai-written-elixir-exunit-streamdata-and-a-beam-language-design-feedback-wanted/77339 "2026-11-15T00:51:36Z")

</div>

Hi everyone, I asked Claude (Anthropic’s AI) a question: if AI writes most of the code, what should a language on the BEAM look like? Its answer was to optimize for reviewing, not writing, and it proposed a design. I fo…

---

## [Stampede - load testing Phoenix Channels and LiveView from Elixir](https://forum.elixirforum.com/t/stampede-load-testing-phoenix-channels-and-liveview-from-elixir/77105)

<div class="topic-metadata">

**Author:** [@mandar1045](https://forum.elixirforum.com/u/mandar1045)\
**Replies:** 1\
**Last updated:** [November 4, 2026, 6:04pm UTC](https://forum.elixirforum.com/t/stampede-load-testing-phoenix-channels-and-liveview-from-elixir/77105 "2026-11-04T18:04:49Z")

</div>

Hi everyone, I’ve been building Stampede, a load testing library for Phoenix apps. Load tests are plain Elixir modules, and it speaks the Channels and LiveView protocols itself, so you don’t have to rebuild joins, refs,…

---

## [Stampede 1.3 released -  record load tests in your browser, see inside your app, and test AI chat APIs](https://forum.elixirforum.com/t/stampede-1-3-released-record-load-tests-in-your-browser-see-inside-your-app-and-test-ai-chat-apis/77221)

<div class="topic-metadata">

**Author:** [@mandar1045](https://forum.elixirforum.com/u/mandar1045)\
**Replies:** 0\
**Last updated:** [October 31, 2026, 8:37pm UTC](https://forum.elixirforum.com/t/stampede-1-3-released-record-load-tests-in-your-browser-see-inside-your-app-and-test-ai-chat-apis/77221 "2026-10-31T20:37:48Z")

</div>

Stampede 1.3 is out. It’s the load tester I’ve been building for Phoenix, and this release is about using it on real apps. What’s new mix stampede.record starts your app, you click through it in a browser, and you get …

---

## [Stampede (load testing for Phoenix) 1.2 - find how many users your Phoenix app holds (400k on one server)](https://forum.elixirforum.com/t/stampede-load-testing-for-phoenix-1-2-find-how-many-users-your-phoenix-app-holds-400k-on-one-server/77202)

<div class="topic-metadata">

**Author:** [@mandar1045](https://forum.elixirforum.com/u/mandar1045)\
**Replies:** 3\
**Last updated:** [October 30, 2026, 3:42am UTC](https://forum.elixirforum.com/t/stampede-load-testing-for-phoenix-1-2-find-how-many-users-your-phoenix-app-holds-400k-on-one-server/77202 "2026-10-30T03:42:58Z")

</div>

Stampede 1.2 is out, and I finally got to try it at a bigger scale. What’s new --find-limit: instead of a fixed number of users, it adds load a step at a time and checks your thresholds on each step. The first step tha…

---

## [Load Testing LiveViews With Tsung (or other tools?)](https://forum.elixirforum.com/t/load-testing-liveviews-with-tsung-or-other-tools/31881)

<div class="topic-metadata">

**Author:** [@peck](https://forum.elixirforum.com/u/peck)\
**Replies:** 2\
**Last updated:** [October 14, 2026, 2:16pm UTC](https://forum.elixirforum.com/t/load-testing-liveviews-with-tsung-or-other-tools/31881 "2026-10-14T14:16:46Z")

</div>

Hi everyone. My team and I have been working on a fairly modest app based around video streaming and chat, but we’ve landed a customer that has a large following. We’re confident in our code but having some real metrics…

---

## [Investigating 502s from load testing my Phoenix app on Dokku](https://forum.elixirforum.com/t/investigating-502s-from-load-testing-my-phoenix-app-on-dokku/73783)

<div class="topic-metadata">

**Author:** [@ostap](https://forum.elixirforum.com/u/ostap)\
**Replies:** 6\
**Last updated:** [January 17, 2026, 2:53pm UTC](https://forum.elixirforum.com/t/investigating-502s-from-load-testing-my-phoenix-app-on-dokku/73783 "2026-01-17T14:53:10Z")

</div>

Finally deployed my Phoenix with SQLite3 app on Dokku. First things first, I did a lil wrk test from my laptop. ▶ Wrk command with results and server info During the test, the server’s CPU usage went up to 50-70%, and th…

---

## [Load testing Phoenix LiveView](https://forum.elixirforum.com/t/load-testing-phoenix-liveview/33691)

<div class="topic-metadata">

**Author:** [@axelson](https://forum.elixirforum.com/u/axelson)\
**Replies:** 1\
**Last updated:** [August 13, 2020, 9:31pm UTC](https://forum.elixirforum.com/t/load-testing-phoenix-liveview/33691 "2020-08-13T21:31:13Z")

</div>

Has anyone done any automated load testing of a Phoenix LiveView website? I haven’t been able to find anything that specifically talks about it. There have been some related threads but they don’t have any helpful info …

---

## [Load testing: Struggling to get more than 50K-60K connections to a Phoenix Channel using Tsung](https://forum.elixirforum.com/t/load-testing-struggling-to-get-more-than-50k-60k-connections-to-a-phoenix-channel-using-tsung/22621)

<div class="topic-metadata">

**Author:** [@praveenperera](https://forum.elixirforum.com/u/praveenperera)\
**Replies:** 23\
**Last updated:** [May 25, 2019, 4:20pm UTC](https://forum.elixirforum.com/t/load-testing-struggling-to-get-more-than-50k-60k-connections-to-a-phoenix-channel-using-tsung/22621 "2019-05-25T16:20:10Z")

</div>

I’ve been trying load test of phoenix channels for an app I’ve been working on for a client. I’m using tsung to do so. I’m struggling to get more than 50K-60K connections at a time. I feel like I’m missing something simp…

---

## [Any good resources to learn about TSung?](https://forum.elixirforum.com/t/any-good-resources-to-learn-about-tsung/2554)

<div class="topic-metadata">

**Author:** [@sabri](https://forum.elixirforum.com/u/sabri)\
**Replies:** 2\
**Last updated:** [July 4, 2018, 1:27pm UTC](https://forum.elixirforum.com/t/any-good-resources-to-learn-about-tsung/2554 "2018-07-04T13:27:36Z")

</div>

Is there a good resource to learn about using TSung for load testing my app? as I will need to deploy it to multiple nodes? and create a testing cluster that will test my app cluster? where to read about using it? Thank…
