slouchpie

slouchpie

Is FLAME well-suited for load-testing?

I had this crazy idea that FLAME could be used for load-testing.

If using Fly backend, we could spin up VMs that run some selenium session using Wallaby or similar. It would be a nice way to see the effect of global-distance latencies. I envision it as a separate project which accompanies the true “product” project. Some minimal Elixir app with hopefully just :wallaby as a dependancy. The selenium session could hit a remote URL of, e.g. a “staging” version of the true product project.

Does this sound sane?

Most Liked

slouchpie

slouchpie

So I went ahead and did the crazy idea. I have a barebones load-testing app running on Fly that has only 3 deps - :wallaby, :flame and :libring.

:libring is just so I can copy-paste the :pogo source code (really just 1 module) and modify it for my needs.

The concept is simple - make flame calls to start wallaby sessions wrapped in genservers under a distributed supervisor.

I have run it with up to 1000 concurrent logged in sessions. That I could successfully do on 20 performance-2x flame machines. I found that a max_concurrency of 10 works well for this spec (does not choke the chromedriver).

Where Next?

Popular in Questions Top

vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36820 110
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31586 112
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New

We're in Beta

About us Mission Statement