mgwidmann

mgwidmann

Companies using Phoenix Presence in Production

My team is looking to use Phoenix Presence in production in our upcoming project. We’d like to see if there is anyone who has used presence in a production system and to what scale they’ve used it at.

I’ve looked through this list of companies using Elixir & Phoenix however I’m unsure how many have actually used the presence feature. My assumptions are that shops like Dockyard and other consultancies have used it in production.

Most Liked

mmmries

mmmries

@mgwidmann did you ever find more companies using presence in production? I’m considering using it for a production application as well and looking for more examples of people using it in the wild.

I did some quick benchmarks in digital ocean and found a with a cluster of 3 elixir elixir nodes I could handle 150k concurrent sessions with ~2.2GB of RAM used on each node and my elixir nodes were using ~50% CPU. I had each session in its own room (my production use case is very few users subscribed to the same topic). I could also check for whether a given user was online or not in ~17µs (this didn’t seem to change as I ramped up the number of connections).

For my use-case I think 150k users is plenty for the foreseeable future, but wanted to see if anyone had pushed it beyond that.

OvermindDL1

OvermindDL1

We use it but we only have a few thousand employees at most.

madshargreave

madshargreave

I’m using it in a production app and have not run into problems scaling to so far, 10000s of concurrent connections

Where Next?

Popular in Discussions Top

Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
ricklove
I was just introduced to Elixir and Phoenix. I was told about the 2 million websocket test that was done 2 years ago. From my research, t...
New
AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31142 143
New
jer
I’ve been using umbrellas for a while, and generally started off (on greenfield projects at least) by isolating subapps based on clearly ...
New
Qqwy
I would like to spark a discussion about the static access operator: .. For whom does not know: it is used in Elixir to access fields of...
New
wmnnd
The Go vs Elixir thread got me thinking: Would it be too hard to implement a simple mechanism for creating Go-style static app binaries f...
New
opsb
We’re considering our architecture from a viewpoint of scaling our traffic heavily over the next 6 months. Our current deployment is runn...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
paulanthonywilson
I like Umbrella projects and pretty much always use them for personal Elixir stuff, especially Nerves things. But I don’t think this is ...
New

Other popular topics Top

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
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 42920 311
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement