<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>AP² Logs</title><link href="https://andreparames.com/blog/" rel="alternate"></link><link href="https://andreparames.com/blog/feeds/all.atom.xml" rel="self"></link><id>https://andreparames.com/blog/</id><updated>2017-05-02T00:09:00+00:00</updated><entry><title>Odoo on the Cloud: 12-factoring</title><link href="https://andreparames.com/blog/odoo-on-the-cloud-12-factoring.html" rel="alternate"></link><published>2017-05-02T00:09:00+00:00</published><updated>2017-05-02T00:09:00+00:00</updated><author><name>André Paramés Pereira</name></author><id>tag:andreparames.com,2017-05-02:/blog/odoo-on-the-cloud-12-factoring.html</id><summary type="html">&lt;p&gt;If you haven't already, consider reading &lt;a class="reference external" href="https://andreparames.com/blog/odoo-on-the-cloud-introduction.html"&gt;Odoo on the Cloud: Introduction&lt;/a&gt; before this post.&lt;/p&gt;
&lt;p&gt;In order to approach the challenge, we need a plan. I've decided to apply the 12 Factor App metodology. If you're not familiar with it, it provides some rules your software should abide by to be …&lt;/p&gt;</summary><content type="html">&lt;p&gt;If you haven't already, consider reading &lt;a class="reference external" href="https://andreparames.com/blog/odoo-on-the-cloud-introduction.html"&gt;Odoo on the Cloud: Introduction&lt;/a&gt; before this post.&lt;/p&gt;
&lt;p&gt;In order to approach the challenge, we need a plan. I've decided to apply the 12 Factor App metodology. If you're not familiar with it, it provides some rules your software should abide by to be a good cloud service. It's not necessarily the final word on the matter, but it provides a good and well known approach to start converting your software.&lt;/p&gt;
&lt;p&gt;In this series, I'm not going to apply every single factor; Odoo is already compliant with some (Port binding, Concurrency), while others may simply be left unaddressed if I haven't found a good solution. I'm also not going to follow the factors in their original order. Finally, some posts might address two related factors at once (such as Processes and Backing Services).&lt;/p&gt;
&lt;div class="section" id="statelessness"&gt;
&lt;h2&gt;Statelessness&lt;/h2&gt;
&lt;p&gt;One of the most important ideas behind the 12 Factors is the restriction on local state. Since one of the cornerstones of the 'Cloud' is horizontal scaling on unreliable commodity servers, applications must be designed to store all persistent data (anything that survives a single request) on backend services, so that it can be replicated and made available to any instance of the application.&lt;/p&gt;
&lt;p&gt;Odoo stores three types of data: Databases, Sessions and Attachments. The first is already treated as a network service, so in the next posts I will cover the other two.&lt;/p&gt;
&lt;/div&gt;
</content></entry><entry><title>Odoo on the Cloud: Introduction</title><link href="https://andreparames.com/blog/odoo-on-the-cloud-introduction.html" rel="alternate"></link><published>2017-05-02T00:09:00+00:00</published><updated>2017-05-02T00:09:00+00:00</updated><author><name>André Paramés Pereira</name></author><id>tag:andreparames.com,2017-05-02:/blog/odoo-on-the-cloud-introduction.html</id><summary type="html">&lt;p&gt;&amp;quot;Odoo on the Cloud&amp;quot; is my new series of posts, dedicated to exploring the possibility of turning Odoo into a &amp;quot;cloud-native&amp;quot; application, which can be managed using current platforms like Kubernetes. This is a result of trying to scale an Odoo-based SaaS platform that can handle hundreds of instances, both …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&amp;quot;Odoo on the Cloud&amp;quot; is my new series of posts, dedicated to exploring the possibility of turning Odoo into a &amp;quot;cloud-native&amp;quot; application, which can be managed using current platforms like Kubernetes. This is a result of trying to scale an Odoo-based SaaS platform that can handle hundreds of instances, both big and small. While it may be useful to you, it should be noted that the solutions proposed are just experimental and have not been tried in real production workloads. You're on your own!&lt;/p&gt;
&lt;dl class="docutils"&gt;
&lt;dt&gt;Outline of the series until now:&lt;/dt&gt;
&lt;dd&gt;&lt;ol class="first last arabic simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="https://andreparames.com/blog/odoo-on-the-cloud-introduction.html"&gt;Odoo on the Cloud: Introduction&lt;/a&gt; (this post)&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="https://andreparames.com/blog/odoo-on-the-cloud-12-factoring.html"&gt;Odoo on the Cloud: 12-factoring&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/dd&gt;
&lt;/dl&gt;
</content></entry></feed>