<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>pg2 on Poeticoding</title><link>https://www.poeticoding.com/tag/pg2/</link><description>Recent content in pg2 on Poeticoding</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 04 May 2019 19:15:15 +0000</lastBuildDate><atom:link href="https://www.poeticoding.com/tag/pg2/index.xml" rel="self" type="application/rss+xml"/><item><title>Distributed Phoenix Chat with PubSub PG2 adapter</title><link>https://www.poeticoding.com/distributed-phoenix-chat-with-pubsub-pg2-adapter/</link><pubDate>Wed, 30 Jan 2019 16:44:08 +0000</pubDate><guid>https://www.poeticoding.com/distributed-phoenix-chat-with-pubsub-pg2-adapter/</guid><description>&lt;p>In this article we&amp;rsquo;ll see how to cluster the Phoenix Chat nodes, using a really powerful functionality embedded in BEAM (the Elixir/Erlang VM), for easily communicate between Elixir nodes. We&amp;rsquo;ll then see how &lt;code>pg2&lt;/code> works and inspect how Phoenix efficiently broadcasts the messages in a distributed chat app.&lt;/p></description></item></channel></rss>