<?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 Adrian Tudor on Medium]]></title>
        <description><![CDATA[Stories by Adrian Tudor on Medium]]></description>
        <link>https://medium.com/@adrian.edeph?source=rss-59d3a753f614------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*YLylQZ1wULa-oQuv.</url>
            <title>Stories by Adrian Tudor on Medium</title>
            <link>https://medium.com/@adrian.edeph?source=rss-59d3a753f614------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 12:27:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adrian.edeph/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[From Internal Innovation to Open Source: A Microservice Framework Journey]]></title>
            <link>https://medium.com/flat-pack-tech/from-internal-innovation-to-open-source-a-microservice-framework-journey-502fd61acdad?source=rss-59d3a753f614------2</link>
            <guid isPermaLink="false">https://medium.com/p/502fd61acdad</guid>
            <category><![CDATA[ikea]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[Adrian Tudor]]></dc:creator>
            <pubDate>Fri, 23 May 2025 06:08:08 GMT</pubDate>
            <atom:updated>2025-05-23T09:17:17.618Z</atom:updated>
            <content:encoded><![CDATA[<p>We began our journey in the <strong><em>Fulfilment Forecasting and Planning</em></strong> domain at <a href="https://www.ikea.com/">INGKA</a> as a newly formed team — a diverse group of backend engineers, each bringing different experiences and perspectives. This diversity shaped how we approached problems, built solutions, and ultimately grew and matured our backend architecture and services. I’d like to share that journey — and the outcome of our efforts, which we’re proud to have recently open sourced!</p><p>You can <a href="#1190">click here</a> to jump right to our open sourced libraries showcase!</p><h4>The beginnings</h4><p>We were in MVP phase in the early days, and being all quite new to Golang we had very different approaches to structuring our microservices. As we were scaling up after the MVP phase of our platform we were thinking more about consolidating into a single microservice project structure. We started with some agreements and slowly started rolling out the first prototype.</p><p>At this point, most of the changes we made were:</p><ul><li>Reducing the amount of abstraction layers within the service, e.g. interfaces in handler/service/repository layers which made it easier to maintain</li><li>Standardize endpoint testing process — we spent most of our effort here because our testing approach was all over the place and confidence around them was quite low. This helped developers write more tests</li><li>A standard project folder and packages structure — switching between microservices with at least 3 different structures was significantly slowing down development because it felt like a huge context switch</li></ul><p>We introduced a <a href="https://github.com/cookiecutter/cookiecutter">Cookiecutter</a> template to streamline the creation of new microservices. With this setup in place, our development speed increased considerably (by around 40%) and it finally felt like everyone was speaking the same language, so our communication improved as well!</p><h4>The consolidation</h4><p>The <a href="https://github.com/cookiecutter/cookiecutter">Cookiecutter</a> template seemed like a good choice to solve our problem, however, we noticed that:</p><ul><li>Around 80% of the code was duplicated across all services (e.g. context, testing, environment variables, setting up the database etc.)</li><li>Dependabot updates were spamming all services with the same versioning update</li><li>Whenever we had to modify the boilerplate code for bootstrapping, (e.g., adding a new middleware) we had to update both the cookiecutter and each microservice manually</li></ul><p>We wanted to make our microservices truly <em>micro</em> and we wanted to enable developers to focus on business logic that provides value rather than maintenance and boilerplate.</p><p>So we took the next logical step…</p><h4><a href="https://github.com/ingka-group/fastecho">Fastecho</a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*b28IlZIx_obxzHrL.gif" /><figcaption>Gotta go fast</figcaption></figure><p>Inspired by <a href="https://fastapi.tiangolo.com/">FastAPI</a> in Python, we created <a href="https://github.com/ingka-group/fastecho"><strong>Fastecho</strong></a><strong> </strong>— our own lightweight framework built on top of <a href="https://echo.labstack.com/">Echo</a> which we wrapped and extended with custom tooling and structure, and branded it as our internal standard for building microservices.</p><p>With <a href="https://github.com/ingka-group/fastecho">Fastecho</a>, spinning up a new microservice takes fewer than 10 lines of code, while still giving developers full access to all of Echo framework’s features.</p><p>If you’re really in a rush, you can even write a two liner!</p><pre>config = fastecho.Config{} //you can customize stuff here (or not)<br>fastecho.New(config)</pre><blockquote><a href="https://github.com/ingka-group/fastecho">Fastecho</a> became our first open-source contribution to the Go community</blockquote><p>Our framework offers a wide range of capabilities that are needed for running microservices:</p><ul><li>Custom error handling mapped to HTTP status codes</li><li>Built-in logging with <a href="https://github.com/uber-go/zap">Zap</a></li><li><a href="https://github.com/swaggest/swgui">OpenAPI</a> docs</li><li>Native <a href="https://github.com/open-telemetry/opentelemetry-go">OTEL</a> support</li><li>Request validation via <a href="https://github.com/go-playground/validator">Validator</a></li><li>Predefined middlewares and possibility to inject more</li><li>K8s compatible health probes</li><li>A streamlined way to load environment variables</li><li>One-liner PostgreSQL DB setup powered by <a href="https://medium.com/gorm.io/gorm">Gorm</a> and migrations with <a href="https://github.com/pressly/goose">Goose</a>.</li></ul><p>That’s a great baseline to kickstart most microservices so you can deliver product value very quickly!</p><h4><a href="https://github.com/ingka-group/echoprobe">Echoprobe</a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/0*fZBRS6cDE-cYwe0V.gif" /><figcaption>Star Wars nerds will get this reference</figcaption></figure><p>While developing <a href="https://github.com/ingka-group/fastecho">Fastecho</a>, we realized we already had a hidden gem in our codebase — a testing library tailored for Echo. We polished and packaged it as <a href="https://github.com/ingka-group/echoprobe"><strong>Echoprobe</strong></a>.</p><p>Echoprobe offers a clean, consistent way to write endpoint tests using structured JSON fixtures. Tests can include mocked requests, responses, and database setups using SQL scripts — making it easier to write and maintain reliable tests.</p><p>Here’s a short example:</p><pre>tests := []echoprobe.Data{<br>    {<br>        Name:   &quot;ok: my test case&quot;,<br>        Method: http.MethodGet,<br>        Params: echoprobe.Params {<br>            Path: map[string]string {<br>                &quot;id&quot;: &quot;1&quot;,<br>            },<br>        },<br>        Handler:        handler.MyEndpoint,<br>        ExpectCode:     http.StatusOK,<br>        ExpectResponse: &quot;my_response&quot;,<br>    },<br>}</pre><p>It’s simple to understand, encourages test adoption, and keeps everything modular — your response lives in <em>my_response.json .</em></p><p>The <a href="https://github.com/ingka-group/echoprobe#features">readme</a> offers more detailed examples so I encourage you to check it out and even start using it!</p><h4>The present</h4><p>Fast forward to today — we’re running over 15 microservices built with <a href="https://github.com/ingka-group/fastecho">Fastecho</a> and <a href="https://github.com/ingka-group/echoprobe">Echoprobe</a>. While the challenges we faced may not be unfamiliar to most engineers, we wanted to share our journey: how we grew from a single team into multiple teams working seamlessly on a shared architecture, all while improving the developer experience and maintaining consistent standards.</p><p>Our development efforts now have greater impact — developers can improve multiple services at once with a single change, and we’re able to combine our efforts to continuously push things forward and make the experience better for everyone.</p><p>If you’re working to scale your teams with Golang microservices, this story might resonate with you — and we hope our contributions can support your journey. If you have ideas, suggestions, or feedback, we’d love to connect!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=502fd61acdad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/flat-pack-tech/from-internal-innovation-to-open-source-a-microservice-framework-journey-502fd61acdad">From Internal Innovation to Open Source: A Microservice Framework Journey</a> was originally published in <a href="https://medium.com/flat-pack-tech">Flat Pack Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>