<?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 Boris Besemer on Medium]]></title>
        <description><![CDATA[Stories by Boris Besemer on Medium]]></description>
        <link>https://medium.com/@borisbesemer?source=rss-1b31c9fa1395------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*c1Gefn2oO5BX6QIxPf64fw.png</url>
            <title>Stories by Boris Besemer on Medium</title>
            <link>https://medium.com/@borisbesemer?source=rss-1b31c9fa1395------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 10:10:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@borisbesemer/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[How we make MACH platforms highly performant]]></title>
            <link>https://medium.com/lab-digital/how-we-make-mach-platforms-highly-performant-3d81ad3e4955?source=rss-1b31c9fa1395------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d81ad3e4955</guid>
            <category><![CDATA[composables]]></category>
            <category><![CDATA[mach]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[digital-commerce]]></category>
            <dc:creator><![CDATA[Boris Besemer]]></dc:creator>
            <pubDate>Mon, 08 Jul 2024 12:49:24 GMT</pubDate>
            <atom:updated>2024-07-08T12:49:24.442Z</atom:updated>
            <content:encoded><![CDATA[<h4>Unless you design for it, composable architectures are not lightning fast. What can you do to make sure your websites fly?</h4><p><strong>Creating high performance composable architectures for large scale, international brands is a proper challenge. Especially when we’re talking about 100s of millions of revenue and catalogues that exceed 1M SKUs.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*omNjfiKFxqVAzburOzcNVA.png" /></figure><p>Many of our clients are not only embarking on a replatforming project for their website, but rather a composable transformation of their organisation that touches pretty much any aspect of delivering digital commerce at scale.</p><p>We often experience the organisations and the estates they manage to be of a larger scale. Lots of products to sell, countries and languages to be active in, business users to serve, and many developers and teams implementing those systems. And last but not least, lots of traffic and transactions on the platform of course!</p><p>Creating a platform that ensures the benefits of composable can be reaped, while at the same time keeping it highly performant, is difficult at scale. But definitely not impossible when using the right tools, best practises and designing for it deliberately!</p><p>So how do you create a highly performing MACH platform?</p><h3>Digital commerce websites should be fast</h3><p>Performance = conversion, or better yet, slow performance guarantees lower conversion. In other words performance does not ensure conversion, but poor performance definitely reduces conversion. When a site is slow, UX and conversion will suffer and you might even get penalized for that by Google. We’ve <a href="http://glinden.blogspot.com/2006/11/marissa-mayer-at-web-20.html">known this for a long time</a>.</p><p>Distributed applications are inherently difficult to get performant because of the many moving parts. This is why performance should be a first class citizen in your MACH projects from day one and should be a high priority for any composable commerce project.</p><p>Browsing through a commerce website should feel almost instant. When you search or use facet features, product overviews update so fast you almost don’t notice it.</p><p>This should generally lead to a good score when measuring with for example with PageSpeed Insights, which of course is only a laboratory metric, but gives you some insights nonetheless. In production more focus should be given to Core Web Vitals, which we’ll talk about later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*LWZMzNpLNYArFAJkJoTRPA.png" /><figcaption>Google PageSpeed analysis</figcaption></figure><h4>Why is this special?</h4><p>Well first of all, it’s not. All websites and especially e-commerce sites should be highly performant. From an end user perspective, this is expected of any website. Additionally Google simply penalizes low performance websites (and therefore, bad UX).</p><p>However from a MACH perspective, this is more challenging for a number of reasons, and most primarily the fact that websites are usually big and every page is generated from a large number of systems and APIs behind it.</p><p>A single page view could be powered by 10+ distinct web services that need to do something to render the page. If each system has 100ms latency, this all adds up to a minimum 1 second added to every server/API call if implemented sequentially. And after that everything on the front-end still needs to happen! Not really acceptable, right?</p><p>How then, can our homepage load in &lt;200ms and still renders a complete, personalised page in the browser? While still achieving true ‘composability’ as well as the ability to have teams release new software to production multiple times per day and a marketing team that continually updates content?</p><h4>The challenge with MACH and performance is the integration of many dynamic services</h4><p>MACH performance is hard. We know that there is ample storytelling about the high performance of individual MACH solutions and the fact that they are built to be serving traffic in real time with low latency and no limit to the amount of traffic they can serve.</p><p>In real world scenarios however, it comes down to how you integrate those solutions with each other. If done naively, performance will become a big problem, as your user experience will be dependant on a big number of external services that all introduce latency.</p><p>Individual MACH solutions indeed often have great performance, but if not integrated well, the end result will still be slow for the end user, your customer.</p><p>So MACH does not equal high performance automatically. You need to seriously plan and invest in this in order to get it right. Something we’ve done for over a decade. And it covers all aspects of your MACH platform; from its architecture, the front-end, middleware integration layer to back-end domain services and the infrastructure all of this runs on — all of it has a big impact on the performance of your platform, and therefore direct impact on its conversion rate as well.</p><p>So let’s dive in!</p><h3>Design your high level MACH architecture for high performance</h3><p>As we discussed, a composable architecture consists of many distinct components that each impact performance and latency. Getting the high level architecture right is key to prepare for a high performance platform.</p><p>As with many problems, the approach to solving them is by slicing them up in small parts. This is exactly what we do with our architecture; it’s layered in front-end, middleware and back-end(domain) services that can be optimised individually.</p><p>What it usually comes down to for us is something like the below setup.</p><ul><li>A powerful CDN in front of all public facing endpoints</li><li>A front-end client in ReactJS</li><li>A front-end server in NextJS, hosted through Vercel or Docker</li><li>A GraphQL Federation Gateway, which acts as the central API and middleware orchestration layer</li><li>Several docker as well as function-hosted domain/microservices that expose a GraphQL API through the Gateway, as well as provide integration points for back-end systems.</li><li>Several SAAS services that are integrated through these domain/microservices.</li><li>Cloud-native and often serverless hosting through AWS, GCP or Azure, across a number of regions but not multi-region.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*alHbg9csKygevXS4tYmkSA.png" /><figcaption>Typical high level MACH architecture</figcaption></figure><p>All of these systems work together to power a coherent and speedy user experience. And to get them to do so, they need to be orchestrated well and play in the same rhythm.</p><p>By having a strong front-end delivery platform (including a CDN) as well as an advanced middleware layer sitting on top of individual domain services, we have a great number of options available to build a high performance platform.</p><p>From static content generation to caching individual objects from back-end systems in the GraphQL middleware layer or in the front-end, leveraging the ability to parallelize requests where possible and using domain service-specific options can improve performance.</p><h3>Treating your website as primarily a static site with dynamic components</h3><p>Front-end development has undergone a huge transformation over the last decade. Some will say we’ve gone ‘full circle’ with the focus on “doing all the work” on the server. Perhaps true, but there’s a lot more to it.</p><p>For a long time, rendering of the user experience took place on the server. Then it transitioned to the client, first by unlocking AJAX/XHR and then by building single page apps in the ‘React’-age on top of back-end APIs, which in turn unlocked much of the API-First and Headless based back-end platforms we work with today.</p><p>All of this had major performance implications, because suddenly we’re relying a lot on the performance of the users device, and the way that your front-end application interacts with APIs. In other words: a lot of complexity that was originally dealt with on the back-end, had now moved to the front-end. And over the past couple of years, a wide range of tools and frameworks have been created to solve this complexity.</p><p>With NextJS we can mix and match static content and dynamic personalised user experiences in the same page while still being highly performant. By leveraging streaming, the static parts of a site can be instantly shown to the user while the dynamic parts stream in from the server when available. This allows for instant feedback while not relying on individual devices to render out the personalised experience.</p><h4>Core Web Vitals are key</h4><p>Core Web Vitals are the cornerstone of our performance optimization efforts. These metrics — Largest Contentful Paint (LCP), First Input Delay (FID), and Cumulative Layout Shift (CLS) — provide insights into loading performance, interactivity, and visual stability. Tools like Lighthouse are useful for tracking and improving these metrics, although should also be considered ‘lab settings’ rather than real user performance. For that you definitely need proper <a href="https://en.wikipedia.org/wiki/Real_user_monitoring">RUM</a> tooling and <a href="https://opentelemetry.io/docs/what-is-opentelemetry/#what-is-observability">observability</a>.</p><h4>Balancing static site generation and dynamic responses</h4><p>Treating your website as predominantly static instead of the other way around is a good mindset for building a highly performant platform. In principle everything is static, unless it needs to be dynamic.</p><p>This sounds more static than it is. We want users to receive a static response from the server, but that doesn’t mean outdated. Implementing a proper revalidation strategy deservers a lot of attention. It results in a highly performing website served from caches as long as possible, but always revalidated once needed.</p><ul><li>UI components implement both server-side and client side optimisations, ensuring that a component is delivered ‘pre-rendered’ to the client, and only ‘hydrated’ with dynamic functionality on the client when actually needed.</li><li>Where possible we use static pre-rendering of webpages whenever certain things change in the system. This can be triggered by for example deployments of the front-end of the platform, or by content changes in for example the CMS or the commerce engine, which can trigger regenerations through the use of Webhooks.</li></ul><h4>Relay-style GraphQL integration</h4><p>As you might know we use GraphQL to expose our back-end systems to the front-end. The next chapter describes how to build a highly performant GraphQL Gateway to power that.</p><p>From a front-end perspective, you need to carefully plan how to connect with this gateway and consume it’s data. Building the wrong queries might still lead to over fetching and sequential requests.</p><p>We apply so-called <a href="https://alan.norbauer.com/articles/relay-style-graphql">Relay-style GraphQL</a> to prevent over-fetching data in our applications. In short, Relay-style GraphQL is a declarative data-fetching approach, where each UI component precisely defines its own data needs. This allows for efficient and targeted data retrieval, tailored to what each part of the user interface actually requires.</p><h4>Client-side performance optimisations</h4><p>Optimising how a website is rendered in the browser is still a very important aspect of performance optimisation. A couple of examples of techniques we apply:</p><ul><li>Optimising image delivery through CDNs, serving the right format and by lazy-loading in the client (so requesting them when they are shown in the window).</li><li>Allow the browser to pre-connect to and/or preload to important third party resources before the actual resource needs to be used.</li><li>Implement automated checks on the JavaScript bundles that we serve to our end users, e.g. warn when we exceed size thresholds.</li><li>Implementing proper loading states with reserved space, to prevent layout shifts.</li><li>Automated end to end tests that also check for errors that could lead to inefficient client rendering (like hydration issues).</li><li>Where possible we implement <a href="https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming#what-is-streaming">‘out of order streaming’ with NextJS</a>, which means that when individual components are ready, they can be rendered, and don’t have to wait for other components to be ready. For example this could mean that the product data can render before the menu is rendered, and vice versa. Implementing the entire front-end in a non-blocking way is essential to achieve this.</li></ul><h3>Make sure your back-end performs</h3><p>Steve Souders’ 12+ years old <a href="https://www.stevesouders.com/blog/2012/02/10/the-performance-golden-rule/">“performance golden rule”</a> still holds true: <em>80–90% of the end-user response time is spent on the frontend.</em></p><p>That is, of course, when your back-end is able to respond fast. And this is where it might become difficult with MACH, because your back-end responses depend on numerous HTTP calls to both internal and external (SAAS) services.</p><p>From a back-end perspective, we believe that all back-end activity to render a page should be done within 200ms and ideally faster. And this includes the server-side rendering of a NextJS application. After that the browser will start rendering the page, which might take an additional second. But not much more than that.</p><p>If you’ve built your site primarily as a static site, this should be perfectly achievable. No databases or APIs are touched on initial page load — only after that, when the UI is made interactive (hydrated), back-end APIs are called.</p><p>So how can you ensure that your back-end performs consistently, while being in fact a composition of distributed domain and SAAS services.</p><h4>Use GraphQL Federation as the single API Gateway</h4><p>We’ve <a href="https://blog.labdigital.nl/graphql-federation-composable-architecture-a-cloud-native-love-story-d30fc46713fb">written before</a> about how to use GraphQL Federation in composable architectures. Basically it comes down to building individual domain services that each expose their GraphQL schema at /graphql. These services can in theory be consumed directly. However, we integrate these domain schemas into a single GraphQL Gateway, that becomes the central entry-point for consuming the composable application’s data.</p><p>For consuming clients, such as the front-end and mobile apps, this means there is a single entry-point to interact with the platform and allows them to craft single queries that collect data from multiple domain services.</p><p>As you can imagine, this brings many benefits in terms of security, authentication and documentation. But also by having a consistent method to build &amp; expose domain services as well as performance optimisation: the Federation server will collect this data through finding the most optimal execution path (either parallelized, concurrently and where possible, from the cache).</p><h4>Native object caching in GraphQL</h4><p>GraphQL offers support for <a href="https://www.apollographql.com/docs/apollo-server/performance/caching/">implementing server side caching at the field level</a>. As you can see below, max-age cache durations are configured in the schema.</p><pre>type ProductListingPage<br> @extends<br> @key(fields: &quot;id storeContext { locale currency storeKey }&quot;)<br> @cacheControl(maxAge: 3600) {<br> id: ID!<br> storeContext: StoreContext!<br> categoryId: String @external<br> productListingConfig: ProductListingConfig! @requires(fields: &quot;categoryId&quot;)<br>}</pre><pre>type ProductListingConfig @cacheControl(maxAge: 3600) {<br> categoryId: String!<br> defaultOrder: ProductSortOrder<br> enabledFacets: [String!]<br> prefilters: [FilterCondition!]<br>}</pre><pre>type ProductsResult @cacheControl(maxAge: 3600) {<br> total: Int!<br> results: [Product!]!<br> facets: [Facet!]<br>}</pre><p>When the GraphQL Federation Gateway imports these schemas from a number of domain services, and has a proper caching configuration set up, with for example Redis, the Federation server will automatically cache objects whenever they are requested.</p><p>So by properly designing and configuring your GraphQL schemas for domain services, you can ensure objects are resolved served from memory where possible, rather than going back to an origin-server or SAAS API.</p><p>As most of the data that needs to be sent to the user can be cached, we’ve seen a high caching hit ratio in our GraphQL API responses. And the cool thing is: at the same time, a response can contain both cached data as well as real-time data, like a users’ shopping cart or dynamic price based that’s personalised to them.</p><h4>GraphQL APQ and using a CDN for caching GraphQL queries</h4><p>You can take caching a step further and use general purpose HTTP caches, usually implemented <a href="https://www.apollographql.com/docs/apollo-server/performance/apq/#using-get-requests-with-apq-on-a-cdn">in CDNs to cache complete requests to the GraphQL gateway</a>. This can be especially useful when the GraphQL API provides information that is practically static, such as menu structures, content, etc.</p><p>The enabler for this is APQ, or <a href="https://www.apollographql.com/docs/apollo-server/performance/apq/">Automated Persisted Queries</a>. Based on a hash the server is able to cache requests, and subsequent queries can use this hash to retrieve data via GET requests, which makes it possible to cache these using CDNs. This also means that the client doesn’t need to send full GraphQL queries to the server anymore, but can simply use the hash.</p><p>If configured well with cache-control headers, introducing a CDN as an additional caching layer can provide great performance benefits. On the other hand it does introduce another layer of complexity, which you might want to avoid and only use when really required. In most cases we can get away without this extra caching layer and simply use APQ ‘stand-alone’.</p><h4>With caching comes cache-invalidation</h4><p>As you might know, there are <a href="https://martinfowler.com/bliki/TwoHardThings.html">only two hard problems in computer science</a>: cache invalidation and naming things.</p><p>Which is why you should avoid caching where you can. If you can get away without caching, you absolutely should. But in many cases you can’t, as the UX will suffer from it too much.</p><p>So be prepared to fully and thoroughly understand and implement a cache invalidation strategy, next to your caching strategy. Each component will most likely required a different approach for this.</p><p>When it comes to invalidation, you usually want to explicitly invalidate objects from a cache at the moment the object changes, rather than waiting for a TTL to expire. This ensures that invalidations take place immediately when something changes and the user gets served the latest version in a performant way, and at the same time gives you the option to cache objects ‘forever’ until the are invalidated, which is great for performance.</p><p>Luckily, most SAAS solutions — in which content is usually stored — offer webhooks support for a large number of events in their systems. So when an object is changed and published, such as in below example with Storyblok, you can get it to notify you of it, after which you can start you cache invalidation process.</p><pre>resource &quot;storyblok_webhook&quot; &quot;invalidate&quot; {<br>  name        = &quot;content&quot;<br>  space_id    = var.variables.storyblok_space_id<br>  secret      = random_password.webhook_secret.result<br>  description = &quot;Webhook to invalidate cache on content changes.&quot;<br>  actions = [<br>    &quot;story.moved&quot;,<br>    &quot;story.unpublished&quot;,<br>    &quot;story.deleted&quot;,<br>    &quot;story.published&quot;,<br>  ]<br>  endpoint = &quot;https://cms.internal/api/webhook&quot;<br>}</pre><h4>But according to my MACH vendor, caching should not be necessary!</h4><p>As we wrote above, caching is often considered a dirty word by MACH vendors. Surely their APIs don’t need caching, because they guarantee low latencies through an SLA.</p><p>But what is often missed is that a lot of data is needed from several systems to build even a single page. And that data needs to be fetched. Sometimes concurrently, but in many cases sequentially. And every fetch has latency.</p><p>This is why we beg to differ. Caching is an absolute necessity throughout the composable architecture and requires careful planning to get right.</p><p>And this can be implemented at several levels in the application; from the storefront storing requests to the API, the GraphQL gateway to store certain queries or objects, to in memory caching in individual domain services. And of course through caching capabilities that CDNs provide, both for assets as well as full pages.</p><h3>Infrastructure decisions highly impact performance</h3><p>Infrastructure is the provisioned hardware your workloads run on. So it’s an important aspect for a high performance MACH platform. Choosing the right workload runtimes, networks services and geographic locations can highly influence it.</p><h4>Select the right runtime for your workloads</h4><p>Every workload you have should be deployed in a runtime that is fit for purpose. We’ve noticed over many deployments that for real time traffic, hosting in a docker container is almost always the best option, as it is easy to scale vertically and horizontally, and supports may concurrent requests with a single container.</p><p>We’ve run API endpoints in AWS Lambda and Azure Functions, but have seen many drawbacks in terms of performance. Both cold start problems as well as the fact that functions can only process one concurrent request, make them a less suitable option for real time services.</p><p>For asynchronous workloads though, Functions are often a great option, as their simple to deploy and scale and perfectly fit an event-driven approach to execution.</p><p>For front-end workloads you have the option to use either a docker container or use a specialised cloud like Vercel or Netlify. These platforms are relatively new in the cloud space and bring quite some benefits in terms of both hosting as well as developer experience.</p><p>Proper auto-scaling configurations at your cloud provider will ensure there is enough capacity to scale out when needed.</p><h4>Everything behind a CDN</h4><p>All of your endpoints can be served through a CDN to the end user. Whether it is static data from S3, an GraphQL endpoint or a fully rendered website. Everything can be served through CDNs and can be potentially cached there, not to mention the added protection against DDoS attacks.</p><p>This has the benefit of being extremely fast, as responses can be served from the cache, and very low latency, as CDN edge locations are close to the user.</p><p>Often CDNs allow for implementing simple workloads at the edge, which might be suitable for certain workloads.</p><h4>Choosing the right cloud region vs. where your MACH services are hosted geographically</h4><p>Most of the SAAS services you depend on will be hosted in a public cloud and most likely in a single region you need to choose, across multiple availability zones that are relatively close to each other.</p><p>Therefore it’s important to choose the right location, both for your end-users as well as connecting to those SAAS services from your applications.</p><p>You can test latency to cloud providers for yourself with tools such as <a href="https://cloudpingtest.com/">https://cloudpingtest.com/</a>. But more importantly the latency between different cloud providers and their regions (i.e. AWS eu-west-1 to GCP europe-west-1) is important, as your workloads might be deployed in one, and a SAAS dependency in the other.</p><p>Understanding these latencies and the available regions, both for workloads and SAAS services, can significantly benefit your performance when you make the right decisions.</p><h3>The importance of Observability</h3><p>There is no substitute for real world traffic when it comes to performance. You can simulate it, but nothing beats real users discovering your platform from all around the world, all kinds of devices and all kinds of connections.</p><p>This is why having real time insights into your platform through traces, metrics and logs is vital to keep your platform highly performant and find potential bottlenecks quickly. We recommend implementing <a href="https://opentelemetry.io/">OpenTelemetry</a>, which allows you to integrate most of the Observability tools out there, without changing your implementation.</p><p>In a distributed system this becomes harder, because a single user page view may touch many individual components that may behave unexpected. To prevent searching for a needle in a haystack, Observability solutions trace requests across all of these systems and surface bottlenecks to you, both around performance as well as error rates.</p><h4>You performance will decrease over time</h4><p>Digital commerce platforms are usually continuously developed by one or more development teams. If setup well, this might lead to multiple deployments per day, with changes to the platform.</p><p>These changes will affect performance. Maybe not in a big way, but they will. And enough small changes might lead to a decreasing trend in performance.</p><p>Through a proper continuous delivery pipeline we can catch many errors and regressions, including performance, before they end up in production. But not all of them, which is why a modern platform should be Observable.</p><p>Having real-time insight in your platform gives you the data to monitor performance trends, have anomalies alerted and gives you the data to fix potential bottlenecks.</p><h3>Testing</h3><p>Suffice to say, you don’t know how performant your site is if you don’t test for it. And not just once, but continuously in your CI/CD process.</p><p>This is food for another article, but to give you an idea of the techniques we apply regularly:</p><ol><li>Real time performance of production environments using Observability instrumentation. Which is also a path to implementing progressive delivery using canary releasing and feature flags.</li><li>Continuous performance testing by simulating production traffic on your testing environments.</li><li>Pagespeed insights integration in PR pipelines to get immediate feedback on impact of the PR.</li><li>Regular load and performance testing directly against API endpoints, to test if latency stays low under high load as well.</li></ol><p>These are just a couple of things we do in terms of performance testing and managing high performance of MACH sites. And again, this topic deserves a deep dive.</p><p>The most important thing is to stay disciplined and keep tabs on performance over time. We’ve seen many cases of performance that gradually deteriorates, which can be prevented by testing and monitoring it continuously.</p><h3>Conclusion</h3><p>To make a MACH platform perform well, we need to address this head on in all aspects of our platform and follow industry best practices. This is not specific to MACH, but applies to any modern distributed web application and the techniques you use are the same as well.</p><ol><li>Your architecture should enable a high performance platform through decoupled layers that are standards based, scalable and can be optimised individually (i.e. caching at the GraphQL Federation layer).</li><li>The front-end needs to be built as a primarily statically rendered website that is made dynamic. It should incorporate client and server-side performance and rendering best practices.</li><li>Implementing your back-end API as a GraphQL Gateway gives you a great MACH integration approach that provides ample hooks for performance optimisation.</li><li>Through a solid caching &amp; invalidation strategy (including CDN) you can achieve a situation where 99% of the content comes from a cache, but you never serve stale content.</li><li>You need to make the right infrastructure decisions, particularly workload runtime, but also the physical geographic location of your services.</li><li>Observability should be implemented end-to-end to see how your platform is performing and (miss)behaving in real time.</li><li>Testing should be applied regularly at multiple levels during all stages of your SDLC, including production.</li></ol><p>In order to get all of this right, you need the right expertise in your team. For us as an agency, you can imagine these topics are important for each and every client we serve. And as you might also know, we don’t like reinventing the wheel, which is why we’ve been investing in our internal platforms for a long time, and have a standardised approach for building high performance MACH website with <a href="https://evolve.labdigital.nl/">our platform Evolve</a>, which incorporates many, if not all, of the practises we described in this article.</p><p>We believe that a solid strategy for creating high performance MACH sites will result in sites that are as fast or faster as any other site, while still managing complexity and being able to reap the benefits of a composable architecture.</p><p><em>In case you want to know more about our approach, </em><a href="https://www.labdigital.nl/contact/"><em>feel free to contact us</em></a><em>! And as always, </em><a href="https://careers.labdigital.nl/"><em>don’t hesitate to have a look at our open positions if you want to join us in building high performance MACH platforms</em></a><em>!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d81ad3e4955" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lab-digital/how-we-make-mach-platforms-highly-performant-3d81ad3e4955">How we make MACH platforms highly performant</a> was originally published in <a href="https://medium.com/lab-digital">Lab Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[End to end monorepos for MACH]]></title>
            <link>https://medium.com/lab-digital/end-to-end-monorepos-for-mach-4a2af8a501f5?source=rss-1b31c9fa1395------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a2af8a501f5</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Boris Besemer]]></dc:creator>
            <pubDate>Wed, 24 Apr 2024 10:27:15 GMT</pubDate>
            <atom:updated>2024-04-24T10:27:15.622Z</atom:updated>
            <content:encoded><![CDATA[<h3>Using monorepos for MACH projects</h3><h4>Supercharge your MACH developer experience using monorepos</h4><p><strong>While it might feel counter-intuitive in MACH architectures, monorepos are a great way to simplify and streamline your MACH development process.</strong></p><p>Using a monorepo to host your complete <a href="https://blog.labdigital.nl/reaching-machs-full-potential-b336507f2f99">MACH platform</a> can greatly improve your teams productivity and collaboration. Ultimately this results in faster time to value and better control over a MACH project.</p><p><em>Monorepos?! Never heard of it. We can imagine. We are talking about how to implement source code management and version control for MACH projects.</em></p><p>We’re in good company with this approach! Big companies with many (micro)services and moving parts have been using monorepos for a long time. A <a href="https://qeunit.com/blog/how-google-does-monorepo/">big example being Google</a>, who in 2021 reported that 10.000 engineers commit a whopping 40.000 commits per day to their mono repo. A number that has only grown since, we can imagine. So scale shouldn’t be a problem.</p><p>As with any approach, tool or technique, this is no silver bullet or ‘quick fix’! You still need to carefully structure you repo and be disciplined about this in the long term, to ensure that you maintain composability and prevent ending up with an entangled ‘MACH monolith’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*95rxywwWlrGbogeIa6uyjw.png" /><figcaption>Keep MACH simple(r) with monorepos!</figcaption></figure><h3>Managing microservices using monolithic techniques</h3><p>When pursuing a composable architecture, by its nature composability is an important design goal. And with that, there is a continuous debate about Monoliths vs. Microservices architecture.</p><p>Implementing microservices is complicated and often underestimated, especially for teams new to it. And as a result projects may spin out of control within no time.</p><p>For more complex and scalable use-cases, they definitely have their purpose though. They provide a level of composability that is harder to achieve with monoliths, and the same can be said about scaling the organisation that builds the system.</p><p>A key aspect of building a successful microservices architecture is to provide a great and simple developer experience that is easy to grasp and fast to get started with. With a microservices architecture this gets more complicated with each service or moving part that the architecture grows with.</p><p>This in contrast with a monolithic architecture; it is often a lot easier to get started on a monolithic project, usually by initialising a single project and executing a single command to run the project. There is simply only a single way to do it!</p><p><em>What if we could get a monolith-like experience with a MACH Microservices project?</em></p><h3>A common microservices approach</h3><p>As you might know, a MACH architecture consists of many moving parts and microservices. There is usually a front-end React/NextJS application, a GraphQL federation Gateway, and underneath that several back-end microservices, each exposing a GraphQL subgraph. Additionally, these microservices interact with all kinds of Cloud and SAAS services, such as AWS and commercetools.</p><p>Historically, we would create an individual git repository for each of those components, with each of them having their own CI/CD pipeline. Getting started/productive on a project as a developer was therefore a real pain.</p><p>Even worse, there was a disconnect between developers that worked on other parts of the application, relying on hosted environments to serve as a backend or frontend to their local changes.</p><p>This soon becomes a spiderweb of users and repo’s, that all need versioning, the creation of artifacts and deployment to the right target environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DAZ_I78XepXJ1pyCieBJ0w.jpeg" /><figcaption>multiple repositories for your MACH project</figcaption></figure><p>After a number of MACH projects approached this way, we thought this could be simplified substantially and started using monorepos instead.</p><h3>Enter the mono repository</h3><p>A mono repository, or monorepo, is what the name implies: one git repository that contains the entire project in a nested structure. So instead of creating many individual repositories, we simply create subdirectories in a single repository, to host our services in.</p><p>This means we’re fitting all of the components of the entire MACH architecture, into a single repository. And if we say ‘entire’, we mean it: front-end, back-end, infrastructure, configuration, documentation, deployment pipelines for all of it. Everything is hosted in this single Git repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ux9qULeQlZv0pc8r3ksO0w.jpeg" /><figcaption>a single repository for your complete MACH project</figcaption></figure><p>Why, you may ask. This may lead to a mess quite soon right? Of course it can — but no different than a multi-repo setup with many individual microservices. With a mono repo you at least have all of the mess in one place ;-).</p><p>But we’re not alone. These days there are ample tools to manage mono repositories. Examples that we are fans of, are tools such as <strong>pnpm</strong> and <strong>turborepo</strong>.</p><p>Using these tools we’re able to significantly improve the developer experience, such as having a single command, pnpm dev, to start up the entire MACH architecture at once, consisting of a large number of services. This greatly reduces the time needed to get started in a new project, improves code sharing between packages and services, and lets you grasp a project much faster.</p><h3>Pros and cons of a monorepo</h3><p>There are many benefits of using a monorepo for a microservices architecture:</p><ul><li>Ability to share testing and deployment pipelines between services.</li><li>Straightforward to spin up ‘branch deployments’ for individual Pull Requests, that run the entire application.</li><li>Faster to get started with a project for new developers (time to code) using a single, top level command to install and run the project.</li><li>Visibility of everything that happens, to the entire team. Whether you are working on the front-end or back-end.</li><li>Bonus: you can easily share validation (for example with zod) between front-end and back-end.</li><li>Easy to do larger refactorings that span microservices.</li><li>Easier creation and usage of shared libraries.</li><li>Easier to set ‘sane defaults’ at the project level, like code style standards, security checks, static analysis.</li><li>Combined with Github, the use of CODEOWNERS greatly facilitates your workflows.</li></ul><p>So only benefits? No there are also a couple of drawbacks we found. But these do have to do more with the size of a project, rather than the monorepo itself. With a multi-repo setup, problems would be worse.</p><ul><li>Versioning &amp; tagging individual services becomes harder, because everything is on the same commit hash and tag.</li><li>You need a big machine to run the monorepo locally — though no different then running all microservices. But in the Apple Silicon-age this is not really a problem anymore.</li><li>In larger teams with many microservices, a lot of information flows and it is hard to keep a good overview. But then again; this is no different with separate repositories; that is even harder to follow.</li><li>You need tooling and checks to handle the added complexity of a mono repository, ranging from dependency management towards code governance. But then again, you also need these when not using a mono repo.</li></ul><h3>What does a monorepo look like for MACH?</h3><p>Just like when creating a structure using individual repositories for individual components, a good structure is critical when using a monorepo. At Lab Digital, a MACH monorepo typically looks like below, with clear places for certain pieces of the architecture to be placed.</p><pre>├── .github<br>├── backend<br>│   ├── docker<br>│   ├── examples<br>│   ├── packages<br>│   │   ├── commercetools-client<br>│   │   ├── commercetools-testing<br>│   │   ├── eslint-custom-config<br>│   │   ├── graphql-schema-generate<br>│   │   ├── graphql-utils<br>│   │   ├── lib<br>│   │   └── observability<br>│   └── services<br>│       ├── commercetools-checkout<br>│       │   ├── src<br>│       │   └── terraform<br>│       ├── commercetools-account<br>│       │   ├── src<br>│       │   └── terraform<br>│       ├── graphql-gateway<br>│       │   ├── src<br>│       │   └── terraform<br>│       ├── page-resolver<br>│       │   ├── src<br>│       │   └── terraform<br>├── config #mach-composer configuration<br>├── docs<br>├── frontend<br>│   ├── packages<br>│   │   ├── lib<br>│   │   ├── types<br>│   │   └── ui<br>│   └── sites<br>│       └── example-commerce<br>│           ├── e2e<br>│           ├── public<br>│           ├── src<br>│           └── terraform<br>├── infrastructure<br>└── packages</pre><p>As you can see, this includes an entire distributed application; from frontend to backend, to infrastructure and everything in between-including MACH composer configuration in the config folder. Furthermore, a repo like this supports ‘multi instance’ deployments, with a front-end architecture that scales to any number of sites, using shared (component) libraries and MACH composer that scales the back-end.</p><p>There a certain over-arching directories that contain platform-wide components. And there are components that are simply individual, <strong>standalone</strong> microservices, that implement a particular piece of functionality. As you can see, these services also come with their own terraform directory, which implies that they are responsible for declaring their own infrastructure requirements. This allows to easily add or remove services from the project.</p><h3>Conclusion</h3><p>Introducing monorepos to MACH projects has brought us major productivity improvements, not to mention more enjoyment, across a number of projects. So much that we’ve migrated legacy projects to a monorepo structure as well.</p><p>There are no big cons to using monorepos, and if you must, you can of course always split off individual modules from the monorepo. But so far we haven’t seen that happening in about two years of following this approach.</p><p>So if you ask us, monorepos and MACH should be considered a best practise.</p><p>Keep it simple, stupid!</p><p>Watch this space for more learnings about this topic! And if you want to learn about our approach first-hand, consider <a href="https://careers.labdigital.nl/">applying for a role at Lab Digital</a>! We’re always looking for talented indivuals to join our team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a2af8a501f5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lab-digital/end-to-end-monorepos-for-mach-4a2af8a501f5">End to end monorepos for MACH</a> was originally published in <a href="https://medium.com/lab-digital">Lab Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design sprint 1 blog: Woensdag]]></title>
            <link>https://medium.com/afstudeerproject-boris-en-jasper/design-sprint-blog-woensdag-5a544277d0f7?source=rss-1b31c9fa1395------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a544277d0f7</guid>
            <dc:creator><![CDATA[Boris Besemer]]></dc:creator>
            <pubDate>Thu, 22 Sep 2016 13:33:53 GMT</pubDate>
            <atom:updated>2016-10-04T10:51:07.219Z</atom:updated>
            <content:encoded><![CDATA[<p>Woensdag zijn wij gestart met het beoordelen van de storyboard schetsen die wij ieder gemaakt hebben. In de design sprint methodiek zijn hier verschillende manieren voor die vooral rekening houden dat je er uit komt een grotere groep mensen.<br>Het begon eerst met een stukje uitleg en daarna gingen wij beiden overleggen wat wij vonden van de ideeen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oNGsPNIKGbi6mwJcLY2BYA.jpeg" /><figcaption>Links het idee van Jasper, rechts van Boris</figcaption></figure><p>Het idee van Jasper was om op een hele gemakkelijke manier triggers toe te voegen aan een persona, als die triggers behaald zouden worden dan valt de gebruiker binnen deze doelgroep en krijgt deze personalisatie.</p><p>Het idee van Boris was om doelen te beschrijven als een soort user story en de soort triggers beschrijven dan hoe dat doel wordt behaald. Dit maakt de techniek herbruikbaar door bijvoorbeeld algemene doelen van een site te beschrijven.</p><p>Na overleg hebben wij ervoor gekozen om het idee van Jasper te gaan uitwerken, dit omdat het meer op personen is gericht en beter binnen de personalisatie zelf valt.</p><h3>Naam geven</h3><p>Een (nep) naam geven aan het prototype zorgt ervoor dat het meer als een soort product aanvoelt. Wij zijn samen kort gaan brainstormen wat een leuke naam is voor ons prototype. Uiteindelijk is dit Visitype geworden.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ug8nG9vTUl-kkRUqt4mKg.jpeg" /><figcaption>Onze mini brainstorm</figcaption></figure><h3>Storyboarding</h3><p>Om een beeld te krijgen van het prototype hebben wij een storyboard gemaakt waarbij een beheerder personalisatie toepast voor een bepaalde doelgroep en deze gebruikt wordt voor een korting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a6gdHSm5vk2XWmUqXjb2GQ.jpeg" /><figcaption>Storyboard</figcaption></figure><p>Op basis van dit storyboard gaan wij aan de slag met de prototypen.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a544277d0f7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/afstudeerproject-boris-en-jasper/design-sprint-blog-woensdag-5a544277d0f7">Design sprint 1 blog: Woensdag</a> was originally published in <a href="https://medium.com/afstudeerproject-boris-en-jasper">Afstudeerproject Boris en Jasper</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design sprint 1 blog: Dinsdag]]></title>
            <link>https://medium.com/afstudeerproject-boris-en-jasper/design-sprint-blog-dinsdag-910fb57ce777?source=rss-1b31c9fa1395------2</link>
            <guid isPermaLink="false">https://medium.com/p/910fb57ce777</guid>
            <dc:creator><![CDATA[Boris Besemer]]></dc:creator>
            <pubDate>Thu, 22 Sep 2016 11:51:39 GMT</pubDate>
            <atom:updated>2016-10-04T10:51:21.677Z</atom:updated>
            <content:encoded><![CDATA[<p>Nadat wij tijdens de eerste dag bezig zijn geweest met het vaststellen van de probleemstelling en een doel voor onze design sprint gekozen te hebben, zijn wij begonnen met het bedenken van oplossingen.</p><h3>Lightning demo’s</h3><p>Wij zijn de dag begonnen met het houden van een aantal lightning demo’s, kort verwoord hebben wij beiden een aantal bestaande producten of andere ideeen kort geshowcased aan elkaar en hebben schetsen gemaakt op een whiteboard van de verschillende interfaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0HuPG1uMJaEuGfB84u6bFA.jpeg" /><figcaption>Aantal schetsen op whiteboard</figcaption></figure><p>Omdat wij met zijn tweeën waren namen wij nog een korte pauze om na te denken en te zoeken naar andere interfaces. Dit was een goede stap geweest omdat de eerdere lightning demo’s ons inspiratie geven voor nog wat kleine showcases.</p><h3>Schetsopdrachten</h3><p>Voor het tweede deel van de dag zijn wij bezig geweest met een aantal schetsopdrachten, in de design sprint methodiek wordt dit de ‘four-step sketch’ genoemd. In 4 stappen ga je van notities schrijven naar het schetsen van een 3 staps storyboard. In tegenstelling tot de meeste opdrachten binnen de sprint is dit een individuele opdracht.</p><p><strong>Notities maken<br></strong>Als eerste begonnen wij met het maken van notities, het idee is om langs alles wat je tot nu toe gedaan hebt te lopen en gewoon notities gaat opschrijven waar je op komt.</p><p><strong>Ideeën<br></strong>De tweede stap is het noteren van ideeen die in je opkomen met kleine krabbeltjes, waarbij je de beste ideeen omcirkelt.</p><p><strong>Crazy 8s<br></strong>Met “Crazy 8s” vouw je een papier om tot 8 vakken en krijg je een minuut de tijd per vlak om een variatie te tekenen van een gekozen idee. Om dit goed bij te houden hebben wij gebruik gemaakt van een stopwatch, door de tijdnood kwamen er hele ruwe schetsen uit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ED2-xgr2f6uioGYkQQejTA.jpeg" /><figcaption>Aantal bladen van het schetsproces</figcaption></figure><p><strong>Oplossingsschets<br></strong>De laatste opdracht is het maken van een storyboard van 3 panelen. Deze moeten zelf uitleggend vertellen wat je oplossing is zonder dat het helemaal mooi hoeft te zijn.</p><p>De schetsen moesten wij naderhand verzamelen en bewaren om de dag erop te gaan bekijken en beoordelen. Op dit punt was het dus nog volledig onduidelijk wat de ander heeft gemaakt.</p><p>Na deze sprint hebben wij nog een uur gewerkt aan het voorbereiden van de playtests op vrijdag door afspraken met testers te maken.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=910fb57ce777" width="1" height="1" alt=""><hr><p><a href="https://medium.com/afstudeerproject-boris-en-jasper/design-sprint-blog-dinsdag-910fb57ce777">Design sprint 1 blog: Dinsdag</a> was originally published in <a href="https://medium.com/afstudeerproject-boris-en-jasper">Afstudeerproject Boris en Jasper</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design sprint 1 blog: Maandag]]></title>
            <link>https://medium.com/afstudeerproject-boris-en-jasper/design-sprint-blog-maandag-acc4d3a9d6a0?source=rss-1b31c9fa1395------2</link>
            <guid isPermaLink="false">https://medium.com/p/acc4d3a9d6a0</guid>
            <dc:creator><![CDATA[Boris Besemer]]></dc:creator>
            <pubDate>Mon, 19 Sep 2016 13:17:59 GMT</pubDate>
            <atom:updated>2016-10-04T10:51:36.309Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AAMxLIeUyFk0Df0YWXmz2g.jpeg" /></figure><p>Vandaag zijn we begonnen met de eerste fase van onze Design Sprint. De opdracht van vandaag was om een doel te visualiseren, de problemen om bij dit doel te komen te inventariseren en hier een (aantal) uit te kiezen om ons op te richten tijdens deze sprint.</p><p><strong>Samengevat:<br></strong>- Eerste design sprint dag<br>- Long term goal <br>- Sprint questions<br>- Map maken<br>- How might we notes<br>- Target kiezen</p><h3>Vaststellen lange-termijn doel</h3><p>De eerste opdracht was het vaststellen van een lange termijn doel. Dit doel m0cht optimistisch zijn. We kwamen terrecht bij de volgende twee opbouwende doelen:</p><ol><li>We willen content personalisatie toegankelijk maken voor iedereen.</li><li>We willen een proof of concept die makkelijk content personalisatie toe laat.</li></ol><p>Aan de hand van deze twee formuleringen kwamen we bij het volgende definitieve doel:</p><blockquote>“Door content personalisatie makkelijk toegankelijk te maken voor beheerders willen we zo veel mogelijk websites gebruiksvriendelijker maken voor bezoekers.”</blockquote><h3>Sprint vragen</h3><p>Door middel van de sprint vragen beoordeel je waar het project op vast kan lopen. Je mag hierbij pessimistisch zijn over de toekomst van het project. Wij kwamen met de volgende punten:</p><ul><li>Content personalisatie is complex. Wat als er geen gebruiksvriendelijke oplossing is?</li><li>Wat als er geen vraag is naar een dergelijk systeem in onze doelgroep?</li><li>Wat als we niet de juiste doelgroep kunnen onderzoeken?</li><li>Wat als de oplossing te technisch complex is?</li><li>Wat als ons systeem weinig voordelen bied ten aanzien van concurrenten?</li><li>Wat als de bestaande conventies niet te verbeteren zijn?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3MrAESVozjZd1Plpz9W7rw.jpeg" /></figure><h3>De kaart</h3><p>Vervolgens maakte we een kaart waarop de stappen van alle betrokken partijen zichtbaar wordt. Voor deze kaart hebben we een twee iteratie moeten creëren, omdat we er achter kwamen dat de eerste variant ons doel niet sterk genoeg illustreerde. De eerste versie had als doel namelijk content personalisatie. Ons eind doel wat echter het accommoderen van “succesvol gepersonaliseerde content”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iGQt4MW_MH8ZAJqtnwu1cg.jpeg" /></figure><h3>“Hoe we zouden” notities</h3><p>Met deze methode hebben we de problemen die voort kwamen uit de kaart geinventariseerd. De notities werden vervolgens op thema ingedeeld. In ons geval “Inzichten” en “Aanpassen”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hQ6LLezKg24VMCa1D3bGRg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ptaKiXGRA82UfQ05mT1sqA.jpeg" /></figure><p>De volgende stap was het selecteren van de problemen die we met deze sprint op wouden gaan lossen. Onze keus viel op twee problemen die voor ons gevoel de eerste essentiële stap is bij het creëren van een gepersonaliseerde ervaring via een website. Deze waren als volgt:</p><blockquote>Hoe zouden wij content personalisatie beheerbaar maken voor leken.</blockquote><blockquote>Hoe zouden wij gepersonaliseerde content inhoudelijk aanpasbaar maken.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n18Y2zc9wAKfqP5jnGOSgQ.jpeg" /></figure><p>Met dit resultaat gaan we morgen aan de slag met ideevorming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acc4d3a9d6a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/afstudeerproject-boris-en-jasper/design-sprint-blog-maandag-acc4d3a9d6a0">Design sprint 1 blog: Maandag</a> was originally published in <a href="https://medium.com/afstudeerproject-boris-en-jasper">Afstudeerproject Boris en Jasper</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design Sprint]]></title>
            <link>https://medium.com/afstudeerproject-boris-en-jasper/design-sprint-c911352ffb01?source=rss-1b31c9fa1395------2</link>
            <guid isPermaLink="false">https://medium.com/p/c911352ffb01</guid>
            <dc:creator><![CDATA[Boris Besemer]]></dc:creator>
            <pubDate>Wed, 14 Sep 2016 13:56:16 GMT</pubDate>
            <atom:updated>2016-09-14T13:56:16.633Z</atom:updated>
            <content:encoded><![CDATA[<p>Rond dit punt van ons proces hebben wij al een hoop markt en deskresearch gedaan rondom het onderwerp content personalisatie en interfaces die hierbij horen.</p><p>Na dit punt waren wij van plan om zo snel mogelijk in design modus te gaan maar liepen een beetje vast op alle design methodes die wij konden gebruiken (zie bijvoorbeeld <a href="http://medialabamsterdam.com/toolkit/">Medialab Amsterdam Design Toolkit</a>).</p><p>Na wat zoeken zijn wij gestuit op de <a href="http://www.gv.com/sprint/">Design Sprint</a>. Een methode om binnen 5 dagen van probleemstelling tot een prototype te komen die getest wordt door middel van playtests en interviews met gebruikers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*PIjlE2DxJzl5_2_O6-7HOw.png" /><figcaption>Design Sprint geeft aan dat je kan leren van het proces zonder iets te bouwen en te lanceren</figcaption></figure><p>Al snel hebben wij ervoor gekozen om deze methode volgende week te gaan gebruiken omdat dit ons houvast geeft om in rap tempo efficient te gaan designen.</p><p>Deze sprint gaat wel uit van een grotere groep mensen dus wij proberen het zo aan te passen dat wij voldoende invulling kunnen geven met twee man.</p><p>Daarnaast ligt er op dit moment veel focus op het vinden van mensen die de playtests kunnen gaan uitvoeren en de interviews willen houden met ons, iets wat wij zelf het belangrijkste vinden van dit hele proces.</p><p>Wij hopen dat het volgen van de Design Sprint ons een goede basis geeft om verder te designen, prototypen en te testen.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c911352ffb01" width="1" height="1" alt=""><hr><p><a href="https://medium.com/afstudeerproject-boris-en-jasper/design-sprint-c911352ffb01">Design Sprint</a> was originally published in <a href="https://medium.com/afstudeerproject-boris-en-jasper">Afstudeerproject Boris en Jasper</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Content personalisatie]]></title>
            <link>https://medium.com/afstudeerproject-boris-en-jasper/content-personalisatie-f0fc3a91ad09?source=rss-1b31c9fa1395------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0fc3a91ad09</guid>
            <dc:creator><![CDATA[Boris Besemer]]></dc:creator>
            <pubDate>Wed, 14 Sep 2016 13:46:43 GMT</pubDate>
            <atom:updated>2016-09-14T13:46:43.412Z</atom:updated>
            <content:encoded><![CDATA[<p>Content personalisatie staat voor het aanbieden van content die op maat gemaakt is voor specifieke gebruikers.</p><p>Om content personalisatie toe te passen moet er eerst data worden verzameld over de gebruikers. Dit zou bijvoorbeeld expliciete of impliciete data kunnen zijn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y3FyB4nWH-zXAJDLXkIJfg.jpeg" /></figure><p>Zoals hierboven beschreven bestaat expliciete data uit data dat vanuit een actie voorkomt. Impliciete data is verzameld van een gebruiker door middel van tracking. Een goed voorbeeld hiervan is bijvoorbeeld Google Analytics tracking.</p><p>Met die data kan er dan verschillende dingen worden gedaan. Je zou bijvoorbeeld regels kunnen op stellen (bijvoorbeeld: Gebruiker komt uit Nederland) en op basis hiervan andere content laten zien. Een goed voorbeeld hiervan wat veel sites toepassen is om je door te leiden naar de variant van een site met jouw taal.</p><p>Een andere manier is om persona’s te maken en bezoekers in te delen binnen deze persona’s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8niW1w15phVm_lkjHvnfSg.png" /><figcaption>3 stappen voor content personalisatie met persona’s</figcaption></figure><p>Dit is een geadvanceerdere aanpak voor grotere hoeveelheden gespecialiseerde content. Een valkuil hiermee is dat je te weinig persona’s hebt waardoor mensen toch net niet de juiste content te zien krijgt.</p><h3>Faseringen van personalisatie</h3><p>Er zijn 3 faseringen van personalisatie die kan worden toegepast op websites.<br>Zo kan er bijvoorbeeld puur gebruikt worden gemaakt van regels die vooraf gemaakt zijn door een beheerder. Uitgebreider alternatief is het gebruik van machine learning waarbij de computer allemaal informatie gevoerd krijgt en op basis daarvan zelf kan bepalen welke content goed is voor een gebruiker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E-g7-xH0axvki5irbFxdsw.png" /><figcaption>De 3 faseringen waarbij hybride een tussenweg is</figcaption></figure><p>De automatische variant heeft pas echt nut op het moment dat er veel gebruikers op de website aanwezig zijn. Voor machine learning is er een hoge kwantiteit aan data nodig om goed verbanden te kunnen maken. Een bekende site die dit toepast is Amazon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0fc3a91ad09" width="1" height="1" alt=""><hr><p><a href="https://medium.com/afstudeerproject-boris-en-jasper/content-personalisatie-f0fc3a91ad09">Content personalisatie</a> was originally published in <a href="https://medium.com/afstudeerproject-boris-en-jasper">Afstudeerproject Boris en Jasper</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Content personalisatie interfaces]]></title>
            <link>https://medium.com/afstudeerproject-boris-en-jasper/content-personalisatie-interfaces-bf530e3a41dd?source=rss-1b31c9fa1395------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf530e3a41dd</guid>
            <dc:creator><![CDATA[Boris Besemer]]></dc:creator>
            <pubDate>Wed, 14 Sep 2016 12:33:23 GMT</pubDate>
            <atom:updated>2016-09-14T12:33:23.555Z</atom:updated>
            <content:encoded><![CDATA[<p>Om inzicht te krijgen in bestaande content personalisatie interfaces hebben wij deskresearch uitgevoerd naar de verschillende systemen en vooral de interfaces die gebruikt worden om content personalisatie toe te passen.</p><p>In eerste instantie hebben wij gekeken naar bestaande CMS systemen zoals SiteCore en Django CMS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*nz9KibbnwcTJtSXvpF0C1w.png" /><figcaption>Hiërarchische interface</figcaption></figure><p>Deze systemen gebruiken veelal een hierarchische interface waarbij regels onder elkaar worden gezet en als deze getriggerd worden dan w0rdt de content verandert.</p><p>Andere voorbeelden zijn bijvoorbeeld systemen als MailChimp die ook veel met personalisatie doen. Deze doen dat vaak met een stackable interface (ander voorbeeld is bijv. Apple Mail/Outlook)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vamsuh_sGV4ahwpj1HlI1A.png" /><figcaption>Stackable interface</figcaption></figure><p>Ook keken wij naar makkelijkere interfaces die dezelfde principes gebruiken in het dagelijks leven, zoals bijvoorbeeld gebruikt wordt bij If This Then That (IFTTT):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w59KLIhziqHyfRYj2-SYNQ.png" /></figure><p>Mede door dit onderzoek kregen wij meer inzicht in de verschillende bestaande soorten interfaces.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf530e3a41dd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/afstudeerproject-boris-en-jasper/content-personalisatie-interfaces-bf530e3a41dd">Content personalisatie interfaces</a> was originally published in <a href="https://medium.com/afstudeerproject-boris-en-jasper">Afstudeerproject Boris en Jasper</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[And so it begins]]></title>
            <link>https://medium.com/afstudeerproject-boris-en-jasper/and-so-it-begins-7718ca6fc999?source=rss-1b31c9fa1395------2</link>
            <guid isPermaLink="false">https://medium.com/p/7718ca6fc999</guid>
            <dc:creator><![CDATA[Boris Besemer]]></dc:creator>
            <pubDate>Mon, 29 Aug 2016 13:25:47 GMT</pubDate>
            <atom:updated>2016-09-08T13:43:26.999Z</atom:updated>
            <content:encoded><![CDATA[<p>Hoi, wij zijn Boris en Jasper. Beide zijn wij 4e jaars CMD-studenten die bezig zijn met ons afstudeerproject. Beiden zijn wij CMD studenten met een redelijk technische achtergrond, zo zijn wij bijvoorbeeld al actief als web developers en zijn we actief bezig met nieuwe ontwikkelingen binnen diverse takken van het vakgebied.</p><p>Vanwege onze technische achtergrond zijn wij op zoek gegaan naar een afstudeerproject waarin we zowel het creatieve proces van CMD kwijt kunnen, alsmede onze technische interesse en know-how.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*KGWrVqEklMy_kdXH.png" /></figure><p>Dit project vonden wij bij Lab Digital. Een creatief en technische bureau waar diverse online producten worden gebouwd. Lab Digital is meer dan een jaar geleden opgericht door twee partners die samen meer dan 10 jaar ervaring hebben binnen deze branche.</p><h3>Het project</h3><p>Onze opdracht luidt als volgt:</p><blockquote><em>Het ontwerpen van een interface waarlangs beheerders en marketeers voor een online product (website of app) gedragsregels kunnen koppelen aan content. Aan de hand van deze logica kan een bezoeker of gebruiker een gepersonaliseerde ervaring aangeboden worden.</em></blockquote><p>Onze opdracht bestaat uit het testen van diverse user interfaces. Door het creëren van prototypen van deze interfaces willen we bepalen welke interface de beste gebruiksvriendelijkheid bied voor de beheerder.</p><h3>Onze eerste week</h3><p><strong>Debriefing</strong></p><p>Aan de hand van een briefing van onze stagebegeleider Pim Vernooij hebben we een debriefing op gesteld met hierin o.a. de opdracht, probleemstelling en requirements verwerkt.</p><p><strong>Initieel marktonderzoek</strong></p><p>Door middel van deskresearch hebben we het aanbod van systemen doorzocht die vergelijkbaar zijn met onze opdracht. De informatie die wij hier uit hebben opgedaan hebben wij kunnen gebruiken om de eerste wireframes (voor paper prototyping) te maken en een vragenlijst op te stellen voor het doelgroeponderzoek.</p><p><strong>Brainstorm interfaces</strong></p><p>Om meer informatie op te doen over de beste toepassingen van diverse interfaces hebben we gekeken welke varianten door “concurrenten” gebruikt worden. Vervolgens zijn we gaan zoeken naar interfaces die ons gebruik zou kunnen accommoderen, maar (nog) niet gebruikt wordt voor deze toepassing. De interfaces worden in wireframes uitgewerkt en vervolgens gebruikt voor paper prototyping.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7718ca6fc999" width="1" height="1" alt=""><hr><p><a href="https://medium.com/afstudeerproject-boris-en-jasper/and-so-it-begins-7718ca6fc999">And so it begins</a> was originally published in <a href="https://medium.com/afstudeerproject-boris-en-jasper">Afstudeerproject Boris en Jasper</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Eerste blogpost]]></title>
            <link>https://medium.com/@borisbesemer/eerste-blogpost-370725f2840c?source=rss-1b31c9fa1395------2</link>
            <guid isPermaLink="false">https://medium.com/p/370725f2840c</guid>
            <dc:creator><![CDATA[Boris Besemer]]></dc:creator>
            <pubDate>Mon, 29 Aug 2016 09:03:04 GMT</pubDate>
            <atom:updated>2016-08-29T09:04:14.528Z</atom:updated>
            <content:encoded><![CDATA[<p>Dit is even een test blogpost om Medium Publications te testen.</p><p><strong>Bedankt voor uw aandacht.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=370725f2840c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>