<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Andrew Graham-Yooll</title>
    <description>The latest articles on DEV Community by Andrew Graham-Yooll (@andrewgy8).</description>
    <link>https://dev.to/andrewgy8</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F119618%2F22555f81-b409-49c1-afbc-59948f42f0a0.jpg</url>
      <title>DEV Community: Andrew Graham-Yooll</title>
      <link>https://dev.to/andrewgy8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/andrewgy8"/>
    <language>en</language>
    <item>
      <title>Relé 1.0.0!</title>
      <dc:creator>Andrew Graham-Yooll</dc:creator>
      <pubDate>Tue, 29 Sep 2020 09:31:47 +0000</pubDate>
      <link>https://dev.to/andrewgy8/rele-1-0-0-1d7i</link>
      <guid>https://dev.to/andrewgy8/rele-1-0-0-1d7i</guid>
      <description>&lt;p&gt;We are pleased to announce &lt;a href="https://github.com/mercadona/rele"&gt;Relé&lt;/a&gt;, a comprehensive Python solution to get you up and running with Google Cloud’s Pub/Sub as quickly and easily as possible. Meant to ease development workflow, Relé comes built-in with key components for managing a project with Pub/Sub enabled services.&lt;/p&gt;

&lt;p&gt;Out-of-the-box, Relé provides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Powerful Publishing API&lt;/li&gt;
&lt;li&gt;Highly Scalable Worker&lt;/li&gt;
&lt;li&gt;Intuitive Subscription Management&lt;/li&gt;
&lt;li&gt;Easily Extensible Middleware&lt;/li&gt;
&lt;li&gt;Optional Django and Flask Integration&lt;/li&gt;
&lt;li&gt;And much more!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Allowing our products to scale with ease, Pub/Sub is a vital piece of infrastructure at &lt;a href="http://mercadonatech.es/en/"&gt;Mercadona Tech&lt;/a&gt; and we lean on Relé to manage publishing and subscribing to millions of messages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Show me the data!
&lt;/h2&gt;

&lt;p&gt;In the last 30 days we have:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Published 20 million+ messages
Consumed 125 million+ messages
managed 120+ topics and 300+ subscribers
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And it’s growing every day!&lt;/p&gt;

&lt;h2&gt;
  
  
  Use Case
&lt;/h2&gt;

&lt;p&gt;For many years, Python’s go-to task queuing library has either been Celery or RQ. Although on the face of it, Pub/Sub’s design may look similar, it is solving a different problem.&lt;/p&gt;

&lt;p&gt;While Celery and RQ solve task queues within an application, Pub/Sub shines when it comes to managing task queues between many services. Leveraging Relé with Pub/Sub maintains an elegant API much like Celery and RQ’s, but instead allows for scalable messaging within a service oriented architecture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reasoning
&lt;/h2&gt;

&lt;p&gt;Since the Google Pub/Sub client does not come built-in with solutions to database connection management, publisher management, declaring subscribers, and running workers, the Mercadona Tech team decided to coalesce around an open source solution.&lt;/p&gt;

&lt;p&gt;To reduce complexity and risk when adopting Pub/Sub, we organized our experiences from the Python client into one comprehensive library to solve common use cases and patterns suitable for a highly-available production environment.&lt;/p&gt;

&lt;p&gt;If any of this sounds interesting, checkout our &lt;a href="https://mercadonarele.readthedocs.io/en/latest/"&gt;docs&lt;/a&gt; and &lt;a href="https://github.com/mercadona/rele"&gt;repo&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
