Skip to content

realtime subscription tradeoffs #3452

Answered by abc3
GaryAustin1 asked this question in Questions
Discussion options

You must be logged in to vote

It is pretty cheap to use subscriptions. Phoenix framework (inside Realtime) makes a new Elixir process on each subscription and adds a record in two tables in in-memory KV storage. The only thing that updates could be copied to a few subscription processes, which will increase RAM usage. But it can be an issue only on large datasets.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abc3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants