This Week's Trending
This Month's Trending
This Year's Trending
i dont understand how phoenix presence works
in the examples
defmodule MyAppWeb.MyChannel do
use MyAppWeb, :channel
alias MyAppWeb....
New
Hello lovely people of the Elixir community!
I’m working on a system to monitor Nerves devices to ensure they maintain constant internet...
New
Last Three Year's Trending
Hey everyone!
I’m struggling to get Phoenix.Presence to scale up sufficiently for our needs. I feel like Presence might be overkill in t...
New
I have run into an issue while testing a simple Phoenix channel and using Phoenix.Presence.
It looks to me like the tests completes and...
New
I am wanting to build a dashboard that shows the number of users connected to each topic per node so I can visualise the distribution of ...
New
I have a LiveView that tracks how many users are viewing another page. The other page is using Presence to track when users enter and lea...
New
Hi guys,
I’m building a small app where I would like to have a page with listed users who are currently online across the app, no matter...
New
I’m working on a realtime video chat application and the feature that I’m trying to build can be thought of as something similar to:
A...
New
I want to ask if what I did makes sense. So I have a Phoenix LiveView app I built that has users join and leave a lobby and I track this ...
New
I’m trying to follow the documentation on using Elixir as a Presence Client as outlined here: [Phoenix.Presence — Phoenix v1.7.14]
Chann...
New
Through a Controller, I am trying to fetch a simple list of userids subscribed to a topic. My channels are properly tracking users and I ...
New
I’m working on creating a workshop app that allows moderators to start a “session” of a premade workshop. Each session can have many part...
New
Trending Over Three Years
We have a use case where we want to route an incoming call to all online users within a channel ("lobby"). Each of these users ("candidat...
New
Hi. I am making a small 2 players game with Phoenix channels and I am using Presence to track connected users. My use case requires to te...
New
I want to use Phoenix sockets and presence to track users who are currently connected to the Internet (from within an Android application...
New
I am trying to use the Phoenix.Presence behaviour in my LiveView. I intend to use it to track a channel topic on the LiveSocket, rather t...
New
I'm having trouble implementing a general lobby channel in my Phoenix app. Overall, Phoenix makes soft real-time communication very simpl...
New
I am trying to decide if Phoenix Presence is right for my application, or if I should use my own custom solution to track “players”. Let ...
New
I’ve been building the follow-along Rumbl app while reading the Programming Phoenix book and ran into some issues testing my channels. Wh...
New
I am beginning to look at phoenix presence and have some questions about the best way to achieve cross topic presence. My current design...
New
I want to know socket connected user list on phoenix.
I used Presence and it works but it notifies all connection changes to all clients...
New
I'm trying to understand how to use Phoenix.Presence.list/2. It shows the arguments as module, topic.
My guess was that module should b...
New
Hi all.
Sorry for bringing your attention to this topic - I’m sure it’s been touched on before, but here goes … In my JavaScript Phoenix...
New
Hi,
I need to somehow iterate over the entries in the map returned by Presence.list/1. This is what the map looks like on my end.
%{
...
New
I have code like this in my app:
{:ok, _} = Presence.track(socket, socket.assigns.user_id, %{
online_at: inspect(System.system_ti...
New
I need to perform some actions when the user leaves a channel (in most cases where they close the tab voluntarily, but there may also be ...
New
Hello, I Will be releasing my new web soon, or at least I hope :sweat_smile: One feature that I think woud be cool to have for the releas...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







