<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Renzo Rozza on Medium]]></title>
        <description><![CDATA[Stories by Renzo Rozza on Medium]]></description>
        <link>https://medium.com/@rrozza?source=rss-b708c02f67fe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xHMKQ25hArfD6oyvzgQhdg.jpeg</url>
            <title>Stories by Renzo Rozza on Medium</title>
            <link>https://medium.com/@rrozza?source=rss-b708c02f67fe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 18:15:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rrozza/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Power of Cloud Load Balancing]]></title>
            <link>https://medium.com/apolitical-engineering/the-power-of-cloud-load-balancing-5ff3fc03731f?source=rss-b708c02f67fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ff3fc03731f</guid>
            <category><![CDATA[cloud-armor]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[cdn]]></category>
            <category><![CDATA[traefik]]></category>
            <category><![CDATA[load-balancing]]></category>
            <dc:creator><![CDATA[Renzo Rozza]]></dc:creator>
            <pubDate>Fri, 24 Feb 2023 09:41:03 GMT</pubDate>
            <atom:updated>2023-02-24T09:41:03.891Z</atom:updated>
            <content:encoded><![CDATA[<h4>Run and scale your services behind a single external IP address</h4><p>Apolitical’s mission is to help build 21st-century governments that work for people and the planet. Our web platform upskills public servants across the globe to tackle the pressing challenges they face in their jobs.</p><p>To scale our web platform to serve that global audience, our engineering teams are constantly improving the quality of its features, security, and availability — amongst other things. In particular, to achieve our mission, we need to be able to provide public servants with fast and reliable access to our system.</p><p>Apolitical’s infrastructure runs on the Google Cloud Platform (GCP), which offers multiple hosting alternatives and networking products. In this blog post, you’ll learn how we improved our infrastructure using GCP’s managed services to simplify our deployment and seamlessly deliver the scale and high availability that we need.</p><blockquote><strong>TL;DR</strong>: To scale our web platform we revamped the way we handle traffic by using <a href="https://cloud.google.com/load-balancing">Cloud Load Balancing</a>. We now enable <a href="https://cloud.google.com/cdn">Cloud CDN</a> to allow caching of web assets. And we also define <a href="https://cloud.google.com/armor">Cloud Armor</a> rules for protection against DDoS attacks.</blockquote><h3>How we used to handle traffic</h3><p>In the past, all incoming traffic to the Apolitical web platform was handled by our Reverse Proxy, built with <a href="https://github.com/traefik/traefik">Traefik Proxy</a> (a modern and open-source implementation of a reverse proxy). By definition, a reverse proxy is a server that sits in front of web servers and forwards client (e.g. web browser) requests to those web servers. It typically sits behind the firewall in a private network and provides an additional level of abstraction and control to ensure the smooth flow of network traffic between clients and servers.</p><p>Our Reverse Proxy also included a <a href="https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer">Load Balancer Service</a>, which is the standard way to expose a <a href="https://kubernetes.io/docs/concepts/services-networking/service/">Service</a> to the Internet from a Google Kubernetes Engine (GKE) cluster. A Load Balancer Service will spin up a network Load Balancer with a single IP address allowing all incoming traffic to be directly forwarded to the Reverse Proxy <a href="https://kubernetes.io/docs/concepts/workloads/pods/">Pods</a>.</p><p>Take a look at the diagram below to see what our previous architecture looked like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Xv0hgqKI9pzb5EO-" /><figcaption><strong>Figure 1.</strong> Diagram of our previous architecture, which used a Load Balancer Service to handle traffic</figcaption></figure><p>The big downside of a Load Balancer Service is its lack of integration with GCP networking products (technologies that make the infrastructure easier to scale, secure and modernise) such as<a href="https://cloud.google.com/network-tiers#tab1"> global anycast external IP address</a>,<a href="https://cloud.google.com/cdn"> Cloud CDN</a>,<a href="https://cloud.google.com/armor"> Cloud Armor</a>, and more. This means that we were limited to a reduced set of features and an increasing cost of maintenance. For that reason, using a Load Balancer Service became an obstacle to scaling our web platform.</p><h3>How we revamped our setup</h3><p>In GKE, an <a href="https://kubernetes.io/docs/concepts/services-networking/ingress/">Ingress</a> defines rules for routing HTTP(S) traffic to <a href="https://kubernetes.io/docs/concepts/workloads/">Workloads</a> (applications) running in a cluster. See the <a href="https://cloud.google.com/kubernetes-engine/docs/concepts/service-networking">Service networking overview</a> to learn more about how an Ingress exposes applications using Services.</p><p>Unlike the Load Balancer Service, an Ingress is not a type of Service. Instead, it sits in front of multiple Services and acts as a “smart router” within a GKE cluster. The default Ingress controller will spin up a GCP <a href="https://cloud.google.com/compute/docs/load-balancing/http/">HTTP(S) Load Balancer</a>, and because it’s a native GCP component, it can use the networking products mentioned above out-of-the-box.</p><p>It’s important to note that <a href="https://cloud.google.com/kubernetes-engine/docs/concepts/alias-ips">VPC-native traffic routing</a> is essential for you to be able to use an Ingress. Older versions of GKE didn’t come with this function enabled by default. Furthermore, the VPC-native traffic routing feature is immutable, which means that if a GKE cluster has been created without that feature, the only way to use an Ingress will be to recreate the GKE cluster from scratch.</p><p>For us, that meant a huge opportunity to revamp our previous architecture to a more robust and scalable architecture. But, as simple as it sounds, replacing the Load Balancer Service with an Ingress involved a few technical challenges and trade-offs. In the following sections, we’ll unravel each of these and explain the solutions that we came up with.</p><h3>Routing</h3><p>Our routing is configured to use <a href="https://doc.traefik.io/traefik/reference/dynamic-configuration/kubernetes-crd/">Traefik Proxy Kubernetes Customer Resource Definition</a> (CRDs). We thought that Traefik Proxy was providing a good level of service for our needs. So we decided to keep the routing untouched and take a “catch-all” approach, where the GKE Ingress delegates all the routing decisions to Traefik Proxy.</p><h3>Transport Layer Security (TLS)</h3><p>TLS is a security protocol that provides privacy and data integrity for Internet communications. Previously, our TLS configurations were built into the Traefik Proxy. By replacing the Load Balancer Service with a GKE Ingress, the TLS configurations would have to sit at the Ingress level. To do so, we simplified our Traefik Proxy setup to only define and use HTTP connections and to delegate all the TLS configurations to the GKE Ingress.</p><h3>Cache</h3><p>Cloud CDN offers a massive improvement to a web platform’s scalability and performance, and GKE Ingress makes it easy to<a href="https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#cloud_cdn"> plug this feature in</a>. Consequently, we decided to use Cloud CDN to cache all of our <a href="https://cloud.google.com/cdn/docs/caching#static">static content</a>, e.g. web assets (.js, .css, etc), fonts, images, and more.</p><h3>Security Policies</h3><p>GKE Ingress also makes it easy to enhance security by simply <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#cloud_armor">plugging in</a> Cloud Armor. Consequently, we decided to use Cloud Armor to protect the web platform against DDoS and other attacks.</p><p>See how this differs from our previous architecture in the diagram below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*g380Ul-hiYcmfCHy" /><figcaption><strong>Figure 2.</strong> Diagram of our current architecture using an Ingress to handle traffic</figcaption></figure><h3>What we learnt</h3><p>I’m pleased to say that although implementing our load-balancing improvements was challenging, it was very much worth it! The benefits of handling our web platform’s traffic through Cloud Load Balancing are evident.</p><p>To show the results in numbers:</p><ul><li>85% of total traffic is now served from Cloud CDN</li><li>Page loads are at least 3 times faster in EU regions (and estimated to be even faster in non-EU regions)</li><li>API latency is at least 2 times faster for non-EU regions</li></ul><p>This has greatly contributed to getting better performance scores for Core Web Vitals metrics on Google Search Console. And more importantly, this allows Apolitical to keep expanding its reach to public servants, providing them with a great experience.</p><p>To see what our web platform is like, <a href="https://apolitical.co/home/">visit us here</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ff3fc03731f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apolitical-engineering/the-power-of-cloud-load-balancing-5ff3fc03731f">The Power of Cloud Load Balancing</a> was originally published in <a href="https://medium.com/apolitical-engineering">Apolitical Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Painkillers for Local Development of Microservices]]></title>
            <link>https://medium.com/apolitical-engineering/painkillers-for-local-development-of-microservices-4ef97bc275de?source=rss-b708c02f67fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ef97bc275de</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[docker-compose]]></category>
            <category><![CDATA[local-development]]></category>
            <category><![CDATA[tilt]]></category>
            <category><![CDATA[developer-experience]]></category>
            <dc:creator><![CDATA[Renzo Rozza]]></dc:creator>
            <pubDate>Tue, 29 Nov 2022 09:07:05 GMT</pubDate>
            <atom:updated>2022-11-30T09:12:31.964Z</atom:updated>
            <content:encoded><![CDATA[<h4>The strategies and tools you need to work faster and smarter</h4><p>Since its inception, the <a href="https://apolitical.co/home/">Apolitical platform</a> has been expanding its reach to an ever-increasing number of public servants across the globe. Alongside this growth, the platform’s functionality has also been evolving to meet user needs. And in the same way, to ensure we succeed in our user-centred mission, the engineering teams have grown continuously and continue to do so (On an unrelated side note, if you are interested in joining our team, don’t hesitate to get in touch. <a href="https://www.linkedin.com/company/apolitical/jobs/">We’re hiring!</a>).</p><p>Now back to the more technical side, where growth is always easier said than done. The Apolitical platform is designed following a <a href="https://microservices.io/">microservice architecture</a> (also known as microservices). And as you may know, this architectural style structures an application as a collection of small services that are easy to maintain and test, loosely coupled, independently deployable, and much more.</p><p>The microservice architecture has many advantages, but it’s not always plain sailing. For instance, providing engineering teams with a good developer experience can sometimes be challenging. In particular, one of our biggest challenges at Apolitical was putting forward the right strategy and tools to iterate at speed. I’ll share more about how we managed to overcome this challenge later.</p><blockquote><strong>TL;DR:</strong> To stop doing tedious and repetitive tasks as part of our local development workflow: We implemented a monorepo with Git submodules to centralise access and standardise the synchronisation of multiple repos. We incorporated Tilt with Docker Compose to codify a common development path and ensure reproducibility with continuous feedback loops. And, we extended interoperability by connecting locally-running services to third parties and databases on the cloud.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wd70H53LE2Njtu84" /><figcaption><strong>Figure 1.</strong> Diagram of local development platform</figcaption></figure><h3>How we implemented a monorepo</h3><p>A <a href="https://monorepo.tools/">monorepo</a> is, to a certain extent, a simple concept: one version-controlled code repo that holds many distinct projects with well-defined relationships.</p><p>A common misconception is that following a monorepo is <a href="https://blog.nrwl.io/misconceptions-about-monorepos-monorepo-monolith-df1250d4b03c">the same as</a> following a monolithic architecture. Conversely, a monorepo simplifies code-sharing and cross-project refactorings. It also significantly lowers the cost of creating and maintaining microservices.</p><p>A simplified example of a monorepo’s structure would look like this:</p><pre>/dev-platform<br>  /apis<br>    /api-1<br>    /api-2<br>  /uis<br>    /ui-1<br>    /ui-2</pre><p>Simple, right? But… that’s not all! We want to take things one step further. And, rather than just moving all the code from every repo within our codebase to a monorepo, we decided to implement a monorepo with the use of Git submodules.</p><p>Submodules allow you to keep a Git repo as a subdirectory of another Git repo, whereby you can clone multiple repos into a monorepo and keep your commits separately. Following the example above, the dev-platform is the monorepo and it’s defined as its own Git repo. Then, api-1, api-2, ui-1, and ui-2 are added to the dev-platform as <a href="https://git-scm.com/book/en/v2/Git-Tools-Submodules">Git submodules</a>.</p><p>Therefore, the commands executed inside a Git submodule, such as api-1, will change the submodule’s Git history, not the parent (dev-platform). Thus, executing commands inside the parent changes the parent’s Git history, not the submodule’s. For that reason, projects are nicely isolated on the repository layer. Still, the working trees put the source files side-by-side on your filesystem, allowing you to work as if everything is coming from one place.</p><h3>How we redefined the development path</h3><p>Implementing a monorepo was only the first part of improving the developer experience. In the second part, we decided to provide the engineering teams with the right tooling to locally orchestrate the required services to implement new functionalities faster.</p><p>For clarity, imagine that we have the following scenario: a feature request that requires changing the front-end ui-1.</p><p>In our old workflow, developers would have to:</p><ol><li>Clone the front-end ui-1 repo</li><li>But also, clone the back-ends used by ui-1, in this case, the api-1 and api-2 repos</li><li>Set up the right environment variables for each repo individually</li><li>Then, spin up each service individually</li><li>And finally, check the external dependencies. (Note that databases running locally may need to be populated at this point)</li></ol><p>It became clear that going through that process was very prone to misconfigurations. And, as it doesn’t scale — there are too many tedious and repetitive tasks. It gets even worse when having to keep 20 or more repos up-to-date as the platform evolves at a very fast pace.</p><p>To overcome this, we introduced Tilt with Docker Compose into our local development workflow.</p><p><a href="https://docs.docker.com/compose/">Docker Compose</a> is a tool for defining and running multi-container Docker applications. It allows you to configure each service and its dependencies. In addition, <a href="https://docs.tilt.dev/">Tilt</a> adds a layer on top of Docker Compose to automate all the steps from a code change to external dependencies: watching files, building container images, and bringing your local environment up-to-date.</p><p>At this point, the example monorepo’s structure shown above would have been updated to look like this:</p><pre>/dev-platform<br>  /apis<br>    /api-1<br>    /api-2<br>  /uis<br>    /ui-1<br>    /ui-2<br>  .env<br>  docker-compose.yml<br>  Tiltfile</pre><p>The .env file defines the environment variables, which are used by the docker-compose.yml to define how each of the microservices (UIs and APIs) are meant to be built and run. The Tiltfile simply watches the .env for changes and then loads the services defined on the Compose file.</p><p>Now, let’s go back to the previous scenario: a feature request that requires changing the front-end ui-1.</p><p>In our new workflow, developers would only have to:</p><ol><li>Clone the dev-platform repo</li><li>Initialise the submodules with one command: git submodule update</li><li>Set up the right environment variables for the dev-platform</li><li>And finally, spin up all the services with one command: tilt up</li></ol><p>It’s easy to see that the number of steps is fewer and simpler, but more importantly, these steps are the same no matter how many microservices (UIs or APIs) your application has. In addition, one of the most exciting features of Tilt is that the live dashboard allows you to look at all your microservices at once, and get an instant feedback loop from your logs, broken builds, and runtime errors.</p><p>The final cherry on the cake was integrating Traefik Proxy and Cloud SQL Proxy into the dev-platform. These two proxies can be defined as part of the Docker Compose services. <a href="https://github.com/traefik/traefik">Traefik Proxy</a> allows routing the traffic to every service under the same local host domain (including adding self-signed HTTPS certificates). On top of this, <a href="https://github.com/GoogleCloudPlatform/cloud-sql-proxy">Cloud SQL Proxy</a> allows the services running locally to connect to the databases on the cloud. In short, these two proxies allowed us to locally replicate the same behaviour as deploying and running the services in one of the staging environments. The consequences of this for the engineering teams were that they get to spend more time coding without having to push changes to staging environments.</p><h3>What we learnt</h3><p>At Apolitical, we care about having a good developer experience for our engineering teams. But we also know that’s tricky to measure. Therefore, it’s sometimes hard to get buy-in from the wider company for these types of projects. Despite microservices being the best way to architect our web platform, it was clear that time and effort had to be put into designing the right local development strategy and tools to make our workflows more efficient.</p><p>Using a monorepo with Git submodules to structure all the code of our web platform plus using Tilt with Docker Compose to locally spin up services has completely transformed how we work. Our onboarding process for new joiners is a lot smoother than before, and lots of time has been shaved off from our development loops. Additionally, best practices have been codified to give our engineering teams a fast and reliable workflow.</p><p>If it sounds like this could work for you and your team, what are you waiting for?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ef97bc275de" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apolitical-engineering/painkillers-for-local-development-of-microservices-4ef97bc275de">Painkillers for Local Development of Microservices</a> was originally published in <a href="https://medium.com/apolitical-engineering">Apolitical Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to optimise your front-end by reducing the chattiness to APIs]]></title>
            <link>https://medium.com/apolitical-engineering/how-to-optimise-your-front-end-by-reducing-the-chattiness-to-apis-c7a72f0b68e2?source=rss-b708c02f67fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7a72f0b68e2</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Renzo Rozza]]></dc:creator>
            <pubDate>Tue, 08 Nov 2022 09:12:47 GMT</pubDate>
            <atom:updated>2022-11-08T09:12:47.978Z</atom:updated>
            <content:encoded><![CDATA[<h4>Rewriting Reg/Auth with the help of a Management API</h4><p>About a year ago, the Apolitical engineering teams began rewriting the user registration and authorisation system on the platform. Or, as we internally called it, the “Reg/Auth re-architecture” project.</p><p><a href="https://apolitical.co/home/">Apolitical</a> is a global social learning network for government. By connecting public servants with knowledge, skills and connections, we aim to help them build a better world for citizens. There are around 200,000 people on Apolitical, and we only allow public servants to create accounts. This volume and focus mean that we need a user-friendly yet robust account creation and verification system.</p><p>The platform is designed to approve user registrations from trusted government domains automatically. Plus, it allows for manual vetting of registrations that don’t fall under the category.</p><p>So, why did we undertake this project?</p><p>Firstly, from a business perspective, we wanted to reduce the drop-off rate in the Reg/Auth process as well as the time spent by the customer support team helping users to complete it. Secondly, from a technical perspective, we wanted to improve the implementation of some critical aspects of the Reg/Auth lifecycle and the way data was stored and consumed.</p><blockquote><strong>TL;DR: </strong>A common problem is making multiple API calls that need to be sequenced and assembled on the front-end. If you are facing that, then, you can consider implementing a Management API to push the front-end logic to the back-end. With this simple but powerful concept, you will be able to optimise the processing with server-side parallelism, embrace observability, and reduce networking costs. And more importantly, make your users happier!</blockquote><h3>What a Management API did for us</h3><p>When we started on this project, our <a href="https://microservices.io/">microservice architecture</a> meant that we had a very complex and technical jigsaw puzzle to solve. We wanted to improve the implementation of some critical aspects, but perhaps that’s a little too broad.</p><p>So, although there are many exciting aspects of this project, the focus here will be on exploring the benefits of a Management API: an API to manage other APIs.</p><p><a href="https://netflixtechblog.com/optimizing-the-netflix-api-5c9ac715cf19">As the Netflix API team highlighted in their blog</a>, one of the motivations for implementing a Management API was to reduce the chatty nature of the client/server communication, which was slowing down the performance and making it harder to diagnose incidents.</p><p>To give an example, we can explore one of the first things that happen when a user <a href="https://apolitical.co/signup/?ref=medium-engineering">signs up for the Apolitical platform</a>. The user would input the email address in the front-end, and then some business logic would verify that the email address is valid. For the sake of simplicity, the following diagram illustrates a possible implementation of this validation process:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ncmWV2d62UgMJ73u" /><figcaption><strong>Figure 1.</strong> Diagram of email validation with multiple API calls</figcaption></figure><p>In Figure 1 shown above, there are three API calls, and each of them is made to different APIs: <em>API 1</em>, <em>API 2</em>, and <em>API 3</em>. It’s important to note that the sequence of the API calls is fixed. This means we need first to call <em>API 1</em>, then <em>API 2</em>, and lastly <em>API 3</em>. In addition to this sequence, the final validation logic gets executed in the front-end and will depend on the result of all of the API responses.</p><p>For the case of an email address validation, you may be wondering, why isn’t a single API doing all of that? Unfortunately, the complete answer to that question is outside of the scope of this blog post. But, as mentioned before, our platform implements a complex process with auto-approval and manual vetting of registrations. And, on top of that, our platform relies on some third-party services, such as <a href="https://auth0.com/">Auth0</a> and <a href="https://www.hubspot.com/">HubSpot</a>, and internal databases. Therefore, for our microservice architecture, it makes more sense to keep a good separation of concerns between APIs to have consistency in the way each API talks with each third-party service or database.</p><p>Now, the suggested improvement for the previous implementation would require collapsing those three requests into a single request optimised for the specific use case:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aXwxv0RFPrv2lnyf" /><figcaption><strong>Figure 2.</strong> Diagram of email validation with Management API</figcaption></figure><p>That way, the front-end pays the price of the networking latency only once and makes better use of the more powerful hardware of the back-end to compute the validation logic. Also, because the Management API is running in the same network as the other APIs, each call should be more efficient than if it was executed from the front-end. In this case, we are assuming that the API calls are HTTP-based but the Management API would allow the use of alternative, more reliable protocols, such as <a href="https://microservices.io/patterns/communication-style/messaging.html">messaging</a> or <a href="https://microservices.io/patterns/communication-style/rpi.html">remote procedure invocations</a>.</p><p>Another big advantage of moving the validation logic to the Management API is that implementing logging and monitoring on the back-end side is more robust than tracing events on the front-end. It also allows the implementation of retries, and other more advanced concepts, such as <a href="https://microservices.io/patterns/reliability/circuit-breaker.html">circuit breaking</a>, that you may be able to get out-of-the-box with the use of a modern <a href="https://servicemesh.es/">service mesh</a>.</p><h3>What we learnt</h3><p>Despite not having the chance to flesh out the whole spectrum of the Reg/Auth re-architecture project, I can say that the project was a success!</p><p>The customer support team has stopped receiving as many user requests as before. And not only that, for most of the incidents that have happened since then, the engineering teams have been able to get full traces of where the issues were for 90% of the incidents. There’s a newfound confidence in the platform.</p><p>From a technical perspective, the incorporation of the Management API into our microservice architecture has helped us significantly improve the performance of our front-end. More importantly, it has brought a powerful layer of control over the most complex parts of our business logic across the platform.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7a72f0b68e2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apolitical-engineering/how-to-optimise-your-front-end-by-reducing-the-chattiness-to-apis-c7a72f0b68e2">How to optimise your front-end by reducing the chattiness to APIs</a> was originally published in <a href="https://medium.com/apolitical-engineering">Apolitical Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to migrate digital projects from WordPress to Contentful]]></title>
            <link>https://medium.com/apolitical-engineering/how-to-migrate-digital-projects-from-wordpress-to-contentful-f1be97b673d?source=rss-b708c02f67fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1be97b673d</guid>
            <category><![CDATA[headless-cms]]></category>
            <category><![CDATA[contentful]]></category>
            <category><![CDATA[data-migration]]></category>
            <category><![CDATA[cms]]></category>
            <category><![CDATA[wordpress]]></category>
            <dc:creator><![CDATA[Renzo Rozza]]></dc:creator>
            <pubDate>Tue, 24 Aug 2021 08:08:30 GMT</pubDate>
            <atom:updated>2021-08-24T08:08:30.165Z</atom:updated>
            <content:encoded><![CDATA[<h4>The obvious and the not so obvious you need to know about moving content around</h4><p>It’s been a while since my last blog post about <a href="https://medium.com/apolitical-engineering/apolitical-building-the-people-api-finale-rest-1c7a2e53487b">Building a People API for a Growing Platform</a>, and a lot has happened since then. The <a href="https://apolitical.co/home">Apolitical</a> platform allows public servants across the globe to discover knowledge and learn from the community, and it continues to grow.</p><p>Let’s take a minute to talk about the context of this new blog post. Big changes were underway at the start of 2021 regarding <a href="https://en.wikipedia.org/wiki/Content_management_system">Content Management Systems</a> (CMS), driven by frustration with our self-hosted CMS’s inability to scale, and a desire to build and ship faster. The blog post about the <a href="https://medium.com/apolitical-engineering/a-journey-to-finding-the-right-cms-66bcb14dbfb1">Journey to Finding the Right CMS</a> has covered the reasons behind the decision-making process to adopt <a href="https://www.contentful.com/">Contentful</a> into Apolitical’s tech stack. As a result, the focus of this blog post will be to look at how the engineering team accomplished the migration of already existing digital projects from <a href="https://wordpress.org/">WordPress</a> to Contentful.</p><blockquote><strong>TL;DR</strong>: Do not underestimate the time and effort required to migrate digital projects. Start by designing your content model, then spend some time building internal tooling to handle the migrations. And finally, make use of the Contentful APIs to present the content on your website or any other channel. There is light at the end of the tunnel. And some trees.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hATDA2hNu69cgzQO" /><figcaption>Tunnel in The Smokies. Photo by Ryan Wallace. <a href="https://unsplash.com/photos/e7r0wTz3ZHU">Unsplash</a></figcaption></figure><h3>Getting started with Contentful</h3><p>This section guides you through some steps to help you get started with Contentful as well as providing useful resources to help you manage the projects successfully and smoothly.</p><p>If you are new to Contentful, there’s no better way to learn about it than by taking some of the free courses at the <a href="https://training.contentful.com/student/catalog">Learning Center</a>. Contentful has a very low barrier to entry: you can create your own account for free and start experimenting with it straightaway. The course <a href="https://training.contentful.com/student/path/752268-managing-content-at-scale">Managing Content at Scale</a> can be a great source of inspiration to understand how to use <a href="https://www.contentful.com/help/spaces-and-organizations/">Spaces</a> and <a href="https://www.contentful.com/developers/docs/concepts/multiple-environments/">Environments</a> on Contentful. Start by putting the focus on choosing the best space modelling strategy, and on using environments to create an agile development process.</p><p>Contentful spaces allow you to group all the related resources for a project together. Space modelling is the concept of utilizing spaces to design the best architecture for your project. A space is not only a collection of content, it can be configured individually using <a href="https://www.contentful.com/developers/docs/concepts/webhooks/">Webhooks</a>, API keys, <a href="https://www.contentful.com/developers/docs/concepts/locales/">Locales</a>, and more. There are different space modelling patterns, such as <em>one space to rule them all</em>; <em>separate space per project,</em> and <em>multi-tier</em>. At Apolitical, it was decided to implement the space modelling pattern of <em>one space to rule them all</em>, which was a perfect fit for all of our requirements, including content types and entries being reusable across projects that have the same localization needs, and multiple teams being able to collaborate across projects. From the expenses perspective, it is also important to bear in mind that because spaces are billed individually, this space modelling pattern is more affordable.</p><p>Now that you have seen different space architecture, it’s time to think about how to use environments to implement an agile deployment pipeline that adheres to <a href="https://en.wikipedia.org/wiki/CI/CD">CI/CD</a> best practices. Space environments are entities within a space that allow you to create and maintain multiple versions of the space-specific data, and make changes to them in isolation. By default, every space has one environment, called <em>master</em>. Additionally, multiple <em>sandbox environments</em> can be created. And <em>sandbox environments</em> start as exact copies of the <em>master</em> environment.</p><p>At Apolitical, it was required to host multiple <a href="https://en.wikipedia.org/wiki/Deployment_environment">Staging Environments</a> for testing, and, as a consequence, one <em>sandbox environment</em> for each of the staging environments was created. In addition, environment aliases were activated, causing the <em>master</em> to no longer be an environment but rather an alias for a different environment. In this case, the <em>master </em>environment initially pointed to <em>live-v0.0.1</em> and allowed serving the production content from it.</p><p>You might wonder: why would I do that? Well, there are lots of benefits from using environment aliases, such as minimizing downtime and allowing instant rollbacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_WdgEG6rRLFgWDB2" /><figcaption>Promote an environment to master. Graphic by Contentful</figcaption></figure><p>Our biggest challenge was to automate keeping the staging environments synchronised with all the content that would be created day after day by the content team on the <em>live</em> environment. For this task, there is no built-in way of solving the synchronization process, and the engineering team decided to create an internal <a href="https://en.wikipedia.org/wiki/Command-line_interface">Command-line Interface</a> (CLI) tool to handle it. The CLI tool was implemented in <a href="https://nodejs.org/en/">Node.js</a> with the use of the <a href="https://github.com/contentful/contentful-management.js#readme">contentful-management</a> module, which allows you to use Contentful’s <a href="https://www.contentful.com/developers/docs/references/content-management-api/">Content Management API</a> (CMA) to expose a <em>recreate</em> command, which automatically deletes a staging environment and creates a new instance of it from <em>live</em>. The CLI tool was integrated with <a href="https://about.gitlab.com/">GitLab</a> CI/CD <a href="https://docs.gitlab.com/ee/ci/pipelines/schedules.html">scheduled pipelines</a> so that all the content types and entries are transferred from <em>live</em> to the staging environments nightly. It’s still very impressive how quickly and reliably Contentful can handle the environment recreation process.</p><p>Finally, another command was added to the CLI tool to backup the content from Contentful to <a href="https://cloud.google.com/products/storage">Google Cloud Storage</a> (GCS). The <em>backup</em> command was implemented with the use of the <a href="https://github.com/contentful/contentful-export#readme">contentful-export</a> module, which nightly exports everything from the <em>live</em> environment into a JSON file, and then uploads the file to GCS.</p><h3>Designing the content model</h3><p>If that sounded a bit discouraging and boring, don’t worry, here comes the fun stuff. In this section, you will delve into the content modelling design process. Depending on the circumstances, you may want to follow a strict <a href="https://training.contentful.com/student/path/752257-content-modeling-design-process">Content Modeling Design Process</a>, involving steps such as: agreeing on strategic objectives and creating a content model. However, in Apolitical’s case, the digital projects were already well defined and live on the platform, which allowed for this journey to be shorter, and the process could start straight from the creation of the <a href="https://www.contentful.com/help/content-modelling-basics/">Content Model</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*04rkd5vofgaj6-tQ" /><figcaption>Content modelling design process. Graphic by Contentful</figcaption></figure><p>In the beginning, as described in this related <a href="https://www.contentful.com/r/knowledgebase/contentful-vs-wordpress-vs-drupal/">blog post</a>, it’s difficult to switch from the traditional CMSes approach, where the content and code are still combined in web-centric frameworks, to the <a href="https://en.wikipedia.org/wiki/Headless_content_management_system">headless CMS</a>es approach, where the content is stored separately from the code used to build the presentation layer.</p><p>When thinking about content, it is easy to focus too much on where the content will live, leading to a fixation on the interface: a website, a mobile device, a digital screen. But this interface-centric thinking is what often leads to trouble, endless redesigns, siloed content, and wasted time and money.</p><p>Using content models can help you to separate the content from context (the interface or presentation layer). Start by taking a look at the <a href="https://training.contentful.com/student/path/752272-intro-to-content-modeling">Intro to Content Modelling</a> and <a href="https://training.contentful.com/student/path/752256-content-modeling-design-patterns">Content Modelling Design Patterns</a> courses to understand all the required and relevant concepts and vocabulary. The key to succeeding at creating your content model is breaking down the content into small, well defined and reusable pieces. The use of <a href="https://contentmodel.io/">contentmodel.io</a> was incredibly useful to visualise and iterate the content model for Apolitical’s digital projects.</p><p>The first content model was designed by the Apolitical engineering team for the <a href="https://apolitical.co/microcourses">Microcourses</a> digital project. It was not a simple content model. For example, the <em>Microcourse</em> content type includes multiple fields with nested content types such as the <em>Summary</em>, <em>Editions</em>, and <em>Sections</em>. And at the same time, the <em>Section</em> content type includes the field <em>Lessons </em>linked to another nested content type. The following image partially illustrates the mapping between the Microcourse content type and the Microcourse Overview page for one of the Mircorourses on the platform: <a href="https://apolitical.co/microcourses/en/strategic-thinking">Applying Strategic Thinking in Government</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NTe3ZXxgN0KXyx2c" /><figcaption>Microcourse Overview page and Microcourse content type mapping</figcaption></figure><h3>Building the content migration script</h3><p>Once you have designed and created the content model on Contentful, it’s time to write some more code. The focus of this section is the transfer of the content from source to target, or in other words, from WordPress to Contentful.</p><p>The migration scripts are exposed through the internal CLI tool, for instance through the <em>migrate-microcourse</em> command being implemented. There are numerous ways of storing your content on WordPress and even more ways to access the content. For example, content can be accessed through REST APIs, such as the Articles API on the Apolitical platform, or even by directly connecting to the database. Yet, to keep the blog post relevant to all readers, emphasis will not be placed on how to access the content, but rather on how to structure the migration script and how to reformat and convert the content.</p><p>The first problem is around how to reformat WordPress posts from HTML to markdown. To solve that, a helper function was implemented based on this <a href="https://ashcroft.dev/blog/script-migrate-wordpress-posts-contentful/">related blog post</a> and with the use of the <a href="https://github.com/mixmark-io/turndown#readme">turndown</a>, <a href="https://github.com/mixmark-io/turndown-plugin-gfm#readme">turndown-plugin-gfm</a> modules, and the <a href="https://github.com/andymantell/node-wpautop#readme">node-wpautop</a> module. Additionally, it is required to extract all the references to assets stored in WordPress and convert them into Contentful assets. You can imagine how many of the WordPress posts would contain images or any other media files. Those files would need to be uploaded to Contentful. The <em>asset.type.js</em> file handles uploading media files, and, in the same way, the <em>microcourse.type.js</em> file handles uploading the Microcourse content type. At this point, the concept of <em>.type.js </em>files needs to be introduced. The concept of <em>.type.js</em> files is an arbitrary structure designed to contain all the necessary logic that is required to upload individual content types. The following image partially illustrates the <em>microcourse.type.js</em> file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_HXQrwsA8a1e_T3v" /><figcaption><em>Microcourse.type.js</em> file</figcaption></figure><p>Each <em>.type.js</em> function exposes an object with the <em>build</em> function which handles the complete process, and internally, the <em>build</em> function would first execute the <em>preprocess</em> function and then the <em>upload</em> function:</p><ul><li>The <em>preprocess</em> function is in charge of parsing the inputs, content coming from WordPress and mapping the content to match the content type fields. In the case of fields with nested content types, calling the <em>build</em> function of the relevant <em>.type.js</em> file would make sure the nested entry is uploaded and available on Contentful before uploading the current one. This guarantees that the links between entries are in place.</li><li>The <em>upload</em> function is in charge of uploading the entries by calling the <em>uploadEntry</em> function which uses the CMA to upload and publish entries.</li></ul><p>Apart from that, the <em>assetModel</em> and <em>entryModel</em> would simply read the entry <em>sys.id</em> and create the JSON object required to link nested assets or entries.</p><h3>Presenting the content from apps</h3><p>You have made it to the last section! It is time for the most rewarding part of the migration process. All the content has now been stored on Contentful and all the benefits from using Contentful APIs will start to shine.</p><p>It is a good idea to study the different content delivery architectures and their optimal use cases. The <a href="https://training.contentful.com/student/path/752264-apis-and-delivery-architectures">APIs and Delivery Architectures</a> course covers everything you need to know. The frontend of the Apolitical platform is implemented with single-page <a href="https://reactjs.org/">React</a> apps, and those apps are bootstrapped with <a href="https://create-react-app.dev/">Create React App</a> (CRA). For that reason, with the use of the dynamic on-device delivery architecture, the apps directly make Contentful API calls and fully leverage Contentful’s <a href="https://en.wikipedia.org/wiki/Content_delivery_network">Content Delivery Network</a> (CDN). It is important to note that <a href="https://developers.google.com/search/docs/beginner/seo-starter-guide">Search Engine Optimisation</a> (SEO) support requires more effort when using this architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/0*rwfT2nfUL3msMIWR" /><figcaption>Dynamic on device delivery architecture. Graphic by Contentful</figcaption></figure><p>The <a href="https://github.com/contentful/contentful.js#readme">contentful.js</a> module can fetch the content by making use of Contentful’s <a href="https://www.contentful.com/developers/docs/references/content-delivery-api/">Content Delivery API</a> (CDA), which is very easy to integrate with React apps. However, at Apolitical, a wrapper function was internally developed to flatten the JSON objects returned by the module because they are cumbersome to work with, given that every entry contains system data that is rarely used.</p><h3>Conclusion</h3><p>This blog post has covered the obvious and the not so obvious of moving content around. You have taken a close look at the steps required in the process of migrating digital projects from WordPress to Contentful: getting started with Contentful; designing the content model; building the content migration script; and presenting the content from apps.</p><p>It would be very unfair to have come so far and to end the blog post without an explanation of our results at Apolitical. On one hand, it’s important to highlight that the migration process is not as easy as you may think it is. You should not underestimate the time and effort required to complete it. On the other hand, the user experience was notably improved by reducing the <a href="https://web.dev/interactive/">Time to Interact</a> (TTI) by half. The <a href="https://developers.google.com/web/tools/lighthouse">Lighthouse</a> reports showed an increase in performance of about 20%. The overall scalability and maintainability of the platform were improved. There is no more having to deal with database CPU usage spikes caused by the Articles API, as desired at the start of the <a href="https://medium.com/apolitical-engineering/a-journey-to-finding-the-right-cms-66bcb14dbfb1">Journey to Finding the Right CMS</a>.</p><p>Perhaps the most important benefit from the migration was that the content team workflow was completely revamped. The introduction of a new headless CMS with a great visual editor (the <a href="https://www.contentful.com/help/contentful-web-app-overview/">Contentful Web App</a>) was a great success and makes it really stand out. Some of the major improvements here include the ability for content to be previewed before publishing; the navigation and search of content run smoothly; localisation can be easily extended; and many more additional content management capabilities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1be97b673d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apolitical-engineering/how-to-migrate-digital-projects-from-wordpress-to-contentful-f1be97b673d">How to migrate digital projects from WordPress to Contentful</a> was originally published in <a href="https://medium.com/apolitical-engineering">Apolitical Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a People API for a growing platform]]></title>
            <link>https://medium.com/apolitical-engineering/apolitical-building-the-people-api-finale-rest-1c7a2e53487b?source=rss-b708c02f67fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c7a2e53487b</guid>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[sequelize]]></category>
            <category><![CDATA[expressjs]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Renzo Rozza]]></dc:creator>
            <pubDate>Tue, 15 Dec 2020 09:18:02 GMT</pubDate>
            <atom:updated>2020-12-19T11:13:32.614Z</atom:updated>
            <content:encoded><![CDATA[<h4>How a remote team built a new API from scratch using Finale REST</h4><p>When I took a job at <a href="https://apolitical.co/">Apolitical</a>, a fast-growing global learning platform for public servants, it was the first time I joined a company remotely.</p><p>As you might imagine, it was challenging: new teammates who you only see on a Zoom window, few opportunities to socialise outside of working hours, etc, etc. But, as I had expected, there was little time to dilly-dally, anyway. We found ourselves trying to overcome performance issues with the old API and the first project I was given involved migrating the entire user base from WordPress to a new, modern, and ready-to-scale API.</p><blockquote>TL;DR: If you’re cherry-picking modules for your next <strong>Node.js</strong> project and you want to jump straight into your business logic, then use <strong>Finale REST</strong> endpoints and controllers from <strong>Sequelize</strong> models in your <strong>Express.js</strong> app to allow you to create a powerful and customisable API.</blockquote><p>Yes, I know, another blog post about REST APIs and microservices — please, just bear with me to find out how to quickly prototype your next project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/427/0*TPgG19-eUDg1VzBP" /><figcaption><a href="https://twitter.com/simpsonsops/status/1283252784519712769?lang=en">Image</a> from <a href="https://twitter.com/SimpsonsOps">@SimpsonsOps</a></figcaption></figure><h3>Getting started</h3><p>Where the tech stack was concerned, the project had some preconditions:</p><ul><li>On the development side, we planned to use <strong>PostgreSQL</strong> relational database, <strong>Node.js</strong> (<strong>Javascript</strong> ECMAScript 2018) runtime, <strong>Sequelize</strong> object-relational mapping (ORM), and <strong>Express.js</strong> server</li><li>On the infrastructure side, we run our platform on <strong>Google Cloud Platform</strong> (GCP) with <strong>Google Kubernetes Engine</strong> (GKE) and <strong>Cloud SQL</strong></li></ul><p>Of course, all of these are industry standards and well-known technologies. Apart from the software architecture and database schema itself, the complexity of the project relied upon structuring the REST endpoints and controllers.</p><p>We needed to do this in a way that allowed us to maintain and extend the business logic of our resources. That’s when <strong>Finale REST</strong> came into action to offer CRUD (create, read, update, and delete) operations out-of-the-box, significantly reducing the effort and amount of code needed for the initial setup.</p><h3>Proof of Concept</h3><p>The first step of any successful project is to validate the modules (or 3rd party dependencies) that will satisfy your needs. To get us started, we decided to set up a basic user resource to get a real sense of what the value would be from using <strong>Finale REST</strong> on our API stack. The code would have looked like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*Z3qZ85zozRlx9VLK" /></figure><p><em>Note: The </em><strong><em>Express.js</em></strong><em> middlewares (e.g. bodyParser) should be set before the </em><strong><em>Finale REST </em></strong><em>initialisation — otherwise the POST or PUT methods won’t work (line 34).</em></p><p>To our pleasant surprise, at that point, we had working REST endpoints and controllers for the user resource, including CRUD operations and support for filtering, searching, sorting, and pagination (to find more about this, visit this <a href="https://github.com/tommybananas/finale#rest-api">page</a>).</p><h3>Milestones</h3><p>Now, even on the best days, your API will require more business logic than plain REST controllers. Perhaps, you may need to secure your endpoints with <strong>JSON Web Tokens</strong> (JWT), or you may need to write presentation layers based on roles and permissions, or any other functionality you may think of.</p><p>To do this, <strong>Finale REST</strong> has built-in support for milestones. Basically, each controller has hooks for setting and overriding behaviour at each step of the request. Or, in other words, the milestones provide opportunities to run your business logic at various important steps throughout the duration of the request (to find more about this, visit this <a href="https://github.com/tommybananas/finale/blob/master/docs/Milestones.md">page</a>). An example of how to use milestones can look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*kMpNV-yjiP_b93fh" /></figure><p><em>Note: The userResource variable was previously defined (line 41).</em></p><p>The context object must be used to control the milestone flow, allowing you to continue, skip or stop the milestones chain, or directly throw an error from your milestones. The example above is only setting milestones for some of the hooks, but you are able to dig further into changing any other step on the CRUD operations. <strong>Finale REST</strong> also comes with very handy, predefined errors (Not Found, Bad Request, Forbidden).</p><h3>Conclusions</h3><p>Currently, you can find many modern web-frameworks for creating <strong>Node.js</strong> microservices out there, such as <strong>LoopBack</strong>, <strong>Nest.js</strong>, or <strong>Feathers</strong>, to mention only a few. And if you’re developing an API from scratch, it could be a good idea to go with one of those. But, given our preconditions, it was clear for us that having a highly customisable plain <strong>Express.js</strong> server was the way to go — and I would not be suggesting using <strong>Finale REST</strong> if the People API had not successfully gone live. You can trust me that the People API is handling all the requests related to the users on the Apolitical platform.</p><p>However, the engineering team found <strong>Finale REST</strong> somewhat difficult to get started with. The main reason, in my experience, is that it is unclear which functionalities are built-in, and which are not. I have been asked multiple times, “but… where’s the query to the database?” or similar questions. And the answer is: <strong>Finale REST</strong> does that for you! Despite this disadvantage, the flexibility of adding business logic at any point of the request/response flow is one of the things <strong>Finale REST</strong> has implemented very well, and it has allowed us to quickly iterate and increment the functionality of the People API over time.</p><p>During this project, I had the opportunity to meet and become part of the incredible engineering team at Apolitical, where we share the motivation and commitment to Apolitical’s mission of creating great opportunities to learn for public servants everywhere.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c7a2e53487b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apolitical-engineering/apolitical-building-the-people-api-finale-rest-1c7a2e53487b">Building a People API for a growing platform</a> was originally published in <a href="https://medium.com/apolitical-engineering">Apolitical Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>