# Programming Phoenix LiveView B3.0 P237: More explanation needed

**URL:** <https://forum.devtalk.com/t/programming-phoenix-liveview-b3-0-p237-more-explanation-needed/8579>\
**Category:** PragProg Customers\
**Tags:** book-programming-phoenix-liveview, suggestion\
**Created:** [7 April 2021 13:59 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-b3-0-p237-more-explanation-needed/8579 "2021-04-07T13:59:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asibbald](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/a/cdc98d/32.png) [@asibbald](https://forum.devtalk.com/u/asibbald)\
**Post date:** [7 April 2021 13:59 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-b3-0-p237-more-explanation-needed/8579/1 "2021-04-07T13:59:44Z")

</div>

The text here could do with more explanation. It assumes a considerable amount of knowledge outside that covered so far in the book. If a reader doesn’t have this additional knowledge, they will not be able to understand what is being said here - which is pretty key to what we’re about to do.

an example of what I’m referring to:

“…The configuration sets the default adapter, PubSub.PG2. This adapter runs on Distributed Erlang––clients across distributed nodes of our app can subscribe to a shared topic and broadcast to that shared topic, because PubSub can directly exchange notifications between servers when configured to use the Phoenix.PubSub.PG2 adapter…”

---

<div class="post-metadata">

**Author:** ![SophieDeBenedetto](https://forum.devtalk.com/user_avatar/forum.devtalk.com/sophiedebenedetto/32/2521_2.png) [@SophieDeBenedetto](https://forum.devtalk.com/u/SophieDeBenedetto)\
**Post date:** [7 April 2021 15:45 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-b3-0-p237-more-explanation-needed/8579/2 "2021-04-07T15:45:46Z")

</div>

Hey @asibbald! Which part of this explanation felt unclear to you? The intended take-away here is: By using the PG2 adapter, your code will work even if you deploy your application in a distributed manner". This is what we mean by:

> clients across distributed nodes of our app can subscribe to a shared topic and broadcast to that shared topic, because `PubSub` can directly exchange notifications between servers when configured to use the `Phoenix.PubSub.PG2` adapter

It’s not important to understand the mechanics of the PG2 adapter or Distributed Erlang beyond that, and I don’t feel that a lack of that deeper understanding will prevent the reader from building out the feature in this section.
