<?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>Forem: waffleman</title>
    <description>The latest articles on Forem by waffleman (@iammrwaffleman).</description>
    <link>https://forem.com/iammrwaffleman</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%2F563540%2F93bea274-5b7d-4555-b770-0e042deda434.jpeg</url>
      <title>Forem: waffleman</title>
      <link>https://forem.com/iammrwaffleman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/iammrwaffleman"/>
    <language>en</language>
    <item>
      <title>Architecture - The Pancake Theory</title>
      <dc:creator>waffleman</dc:creator>
      <pubDate>Wed, 20 Jan 2021 12:35:41 +0000</pubDate>
      <link>https://forem.com/sanga/architecture-the-pancake-theory-o6g</link>
      <guid>https://forem.com/sanga/architecture-the-pancake-theory-o6g</guid>
      <description>&lt;p&gt;It's very easy to get technical when discussing architecture,&lt;br&gt;&lt;br&gt;
But I believe that's not how you suppose to play that game at all.&lt;/p&gt;

&lt;p&gt;The most important thing when building a layered system is to have a clear vision that is agreeable by all team members.&lt;br&gt;&lt;br&gt;
A clear vision helps us stay consistent in the way we think and approach those layers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pancakes
&lt;/h2&gt;

&lt;p&gt;As a B2C SaaS company we decided to break down our architecture layers the following way:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GmkG1e5j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/55la33i58np0hysqf667.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GmkG1e5j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/55la33i58np0hysqf667.png" alt="Sanga Layered System diagram"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As we see it, each layer is defined by its core purpose and expose an interface to be consumed by the layer above it.  &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;e.g The services layer holds Sanga microservices and expose resources that are being consumed by the client layer via restful api.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Maple &amp;amp; Butter.
&lt;/h2&gt;

&lt;p&gt;@#$% yeah, lets put some maple &amp;amp; butter on those pancakes 😉&lt;/p&gt;

&lt;p&gt;Similar to how restful api acts as the tunnel that the services layer expose to the client layer above it (no news here 🤷‍♂️),&lt;br&gt;&lt;br&gt;
The infrastructure layer does the same by exposing the resources it creates to be consumed by the services layer via kubernetes (e.g Database, S3 Bucket).&lt;br&gt;&lt;br&gt;
That means that when a service is being deployed,&lt;br&gt;&lt;br&gt;
it looks for the resources it needs in Kubernetes secrets (big news here 🤯).&lt;/p&gt;

&lt;h3&gt;
  
  
  Thank you for reading, look for our next Byte
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Made with ❤️ by &lt;a href="https://www.sanga.app"&gt;Sanga&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>infrastructure</category>
      <category>software</category>
      <category>pancakes</category>
    </item>
  </channel>
</rss>
