Owens

Owens

Cost of running Gigalixir in Production

Hello all, I am wondering if anyone here is using Gigalixir in production and:

  1. What your setup is
  2. How much you pay
  3. What type of users activity/usage it supports (concurrent users, for example)

Let’s take a basic chat application as an example using Phoenix and websockets.

The free version supports 1 instance, 1 database (read somewhere this means pool size of 1), 200 MB of memory

Here is the pricing: Transparent Pricing for Modern App Hosting | Gigalixir

How would we estimate the cost for a chat app (and the hardware needed according to Gigalixir pricing model) that has:

  1. 100 concurrent users sending 1 message per 5 minutes (connected through Phoenix Websockets)
  2. 1000 concurrent users sending 1 message / 5 minutes
  3. 1000 concurrent users sending 1 message / 10 minutes
  4. 10,000 concurrent users sending 1 message / 5 minutes
  5. 100,000 concurent users sending 1 message / 5 minutes
  6. 1M concurrent users sending 1 message / 5 minutes

This would help me get a much better understanding of how it works than the current pricing estimator which just dials up the hardware and cost.

Most Liked

Owens

Owens

As an update, I’ve been procrastinating a ton on getting my app deployed to a server.

As someone who has only used Heroku in the past, I decided to just give the free tier of Gigalixir a try and I must say that it was a total breeze to deploy to compared to what I needed to get running on my Digital Ocean cluster. Having my app online now is super encouraging and gives me a small sense of accomplishment to keep going and learning more.

My current plan is to continue to use the free tier of Gigalixir until my app exceeds 10k connections (or until I notice any performance roadblocks/limitations).

I actually don’t think setting up Digital Ocean is that laborious, it just feels* risky and I’m concerned something will go wrong considering I haven’t worked with it before.

ConnorRigby

ConnorRigby

Nerves Core Team

For what it’s worth i’ve been running https://turtletube.net/ on Gigalixir’s free plan for a few weeks now.
It’s a Nerves app that streams a base64 jpeg over phoenix channels about ~25 times a second and broadcasts it to how ever many clients are connected at once. Not efficient or scalable at all, but i have yet to have any hicups.

johnkacz

johnkacz

I’ve had nothing but good experiences with Gigalixir. Great support on Slack too.

I also got things working on Digital Ocean, a little more work but not too bad.

Where Next?

Popular in Questions Top

vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
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
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54006 488
New
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
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
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

We're in Beta

About us Mission Statement