rahultumpala
Hello,
I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance of my server.
I came across Tsung and Chaperon and I have the following issues:
- Tsung allows publishing raw data over TCP but the data field is not dynamic
- Chaperon is for HTTP/Websocket
I was a user of Gatling and I liked it as it gave the ability to execute arbitrary code for every virtual user of the load test session.
Are there any such frameworks for Elixir lang that allow the load test to be written in Elixir and have good features that Gatling / K6 provides? ex: configuring the RPS, max concurrent users, ramp up, ramp down duration ..etc
Thanks
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
I’m aware of 2 such projects, are there others?
git: GitHub - team-alembic/realworld: A fullstack Phoenix LiveView application with back...
New
Hi all,
I’m working on a Phoenix project where I need to make external HTTP requests and I’m trying to choose between Req and HTTPoison....
New
Hi,
we run different LLM models across a cluster, with each node loading a configurable subset. Model-specific queues let nodes consume ...
New
Hello
I’ve been coding in Elixir for almost two years now because of my current job where we implemented Elixir in our application. But ...
New
Hi all, I’m new here and would like to hear peoples views on my Elixir/Phoenix based game-engine! :smiley:
Mutonex gamedesign was finish...
New
Hi, I’m evaluating Ash as a foundation for our future business applications.
So far I love it, and there’s just one usecase I haven’t be...
New
Other Trending Topics
Hey there,
I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first.
...
New
Hi everyone :waving_hand:
I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
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
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #elixirconf-us
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #security
- #elixirconf-eu
- #api
- #forms
- #hex










Showing Posts 1 to 5- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
conradwt
I would defintely take look at the following package:
rahultumpala
Thanks, but these do not address the the main concern, writing Load Tests for non HTTP services. elixir-k6 seems to be a thin wrapper on top of K6, which doesn’t support custom protocol testing out of the box.
conradwt
Yes, Elixir-K6 is meant to be a thin wrapper because implementer wants to leverage the main K6 project as much as possible. If you’re looking to load test custom protocols over TCP, then you may want to consider building your own load tester by leveraging one of the many AI tools out there because Elixir has some great foundational components. However, if the main K6 project, Gatling, or other have all the features that you require for your load testing objectives, I would simply use them instead of investing too much time in trying to find or build an Elixir equivalent project unless that’s the overall goal of your project.
rahultumpala
Yes, I’ve started writing a minimal framework that mimics few of the features of K6 and Gatling, and fixes some issues I’ve faced while writing load tests (for example, running an LT with a fixed dataset of inputs a fixed number of times. Gatling doesn’t allow this out of the box). I will share it with the community after I’m finished with testing all the features.
rahultumpala
I wrote a minimal framework that addresses all my concerns. It’s called Typhoon. It looks quite similar to Chaperon but allows the user to write more complex load profiles. It may be well worth it to contribute to Chaperon but the project seems to be feature complete and there’s no responses from maintainers on issues/PRs.