<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>libcluster on Poeticoding</title><link>https://www.poeticoding.com/tag/libcluster/</link><description>Recent content in libcluster on Poeticoding</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 23 Jun 2019 17:52:32 +0000</lastBuildDate><atom:link href="https://www.poeticoding.com/tag/libcluster/index.xml" rel="self" type="application/rss+xml"/><item><title>Connecting Elixir Nodes with libcluster, locally and on Kubernetes</title><link>https://www.poeticoding.com/connecting-elixir-nodes-with-libcluster-locally-and-on-kubernetes/</link><pubDate>Wed, 06 Feb 2019 12:57:02 +0000</pubDate><guid>https://www.poeticoding.com/connecting-elixir-nodes-with-libcluster-locally-and-on-kubernetes/</guid><description>&lt;div class="video">&lt;iframe src="https://www.youtube-nocookie.com/embed/FARtObrKr5I" title="YouTube video" loading="lazy" allow="accelerometer; encrypted-media; gyroscope; picture-in-picture" allowfullscreen referrerpolicy="strict-origin-when-cross-origin">&lt;/iframe>&lt;/div>

&lt;p>In the last few articles we saw how to make our Phoenix chat app distributed; at the beginning with Redis, and after with distributed Elixir connecting the nodes together.&lt;/p>
&lt;p>We had just one problem; we had to manually connect to the nodes in the IEX console. This is an issue in production. In this video we will see how to automatically cluster the Phoenix chat nodes using the libcluster library locally, and on a Kubernetes cluster with a dynamic number of nodes.&lt;/p></description></item></channel></rss>