ketupia

ketupia

I’m a solo indie developer and built a Phoenix LiveView app. It’s an interactive multiplayer experience and I don’t know how to know how well it performs with varied devices, varied connectivity, and under load.

I’ve posted ti r/TestMyApp and that may prove to be fabulous but I’m thinking that will be individuals testing at their own pace.

What other ways can I test multiplayer loads and iteractivity?

Marked As Solved

D4no0

D4no0

The way we do this on most projects that solve business problems is to send metrics from the parts of system you care about. What is even nicer is that a lot of libraries emit them by default, all you have to do is hook to them, for example phoenix: Telemetry — Phoenix v1.8.8

In that way, you can later query them and analyze your overall performance of the system and find the bottlenecks.

There is also the option of spinning up another instance that is as close as possible to what you have in prod and create a custom stress testing client. I highly doubt there is any libraries for doing this, so it’s up to you to build this from scratch. This approach has its own benefits, however the effort investment in making this work correctly is times bigger than the above approach.

Also Liked

namxam

namxam

I think using telemetry is the way to go. Although it might be a very good idea to have manual tests as well. I guess you will have a max number of simultaneous users.
I would deploy it on a production server and get some friends, a crate of beer and start testing.
When those tests work as expected, I would continue with a closed beta test with a limited number of players.
And then slowly add more players via additional slots.
And while you do this, always track your telemetry data.

Where Next? Top

Trending in Questions Top

RSP87
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
RemyXRenard
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
velrest
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
samoloth
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
nseaSeb
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
FlyingNoodle
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
ryanwinchester
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted” Version...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
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
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews