{"id":10038,"date":"2021-09-07T17:00:35","date_gmt":"2021-09-07T16:00:35","guid":{"rendered":"https:\/\/ee.yelkdev.site\/?p=10038"},"modified":"2023-09-21T23:40:16","modified_gmt":"2023-09-21T22:40:16","slug":"understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith","status":"publish","type":"post","link":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/","title":{"rendered":"Understanding event-driven architecture and microservices in comparison to a monolith."},"content":{"rendered":"<p>If you\u2019re not <i>consciously<\/i> aware of the limitations of a monolithic architecture, you\u2019ll likely be familiar with the practical shortfalls and how they can cripple an organisation.<\/p>\n<p>Do any of the following symptoms ring a bell?<\/p>\n<ol>\n<li>You spend the vast majority of your capacity focused on end-to-end testing or bug fixing, rather than delivering new product features to better serve customers.<\/li>\n<li>Your application is slow. You constantly get complaints from customers about speed and reliability, while product teams and internal stakeholders complain that \u2018technology and development\u2019 takes far too long.<\/li>\n<li>You\u2019re struggling to scale and cope with increased load on your system.<\/li>\n<li>You have vast amounts of <i>potentially<\/i> usable data, but you can\u2019t harness it to make strategic decisions or improve customer experience in real-time.<\/li>\n<\/ol>\n<p>If any of the above seem familiar, you may benefit from a process of <a href=\"https:\/\/www.equalexperts.com\/our-services\/\">digital transformation<\/a>: transitioning to a microservices approach with event-driven architecture.<\/p>\n<p>Before you can begin to entertain that decision, let\u2019s define some terms.<\/p>\n<h2>What are microservices?<\/h2>\n<p>It\u2019s easiest to understand microservices in contrast to a monolithic architecture; a monolith being a system or application where multiple elements are subsumed into the one entity.<\/p>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-10092\" src=\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application.png\" alt=\"a diagram showing a the series nature of event producers and consumers in a monolithic application. Systems connect one after each other and hence can only process information after the previous process has completed. \" width=\"1684\" height=\"280\" srcset=\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application.png 1684w, https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application-300x50.png 300w, https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application-1200x200.png 1200w, https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application-768x128.png 768w, https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application-1536x255.png 1536w\" sizes=\"(max-width: 1684px) 100vw, 1684px\" \/>\n<p>For example, a monolithic application for online retail might contain a server, a load balancer, an ordering system, a payment gateway, and a shipping component.<\/p>\n<p>In contrast, microservices take the various functions and responsibilities of an application\u2014you could have five or five hundred\u2014and break them out into distinct, separate, and individually deployable units.<\/p>\n<img decoding=\"async\" class=\"alignnone wp-image-10091 size-full\" src=\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/eda-application.png\" alt=\"With an event-driven architecture, systems can process messages asynchronously\" width=\"709\" srcset=\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/eda-application.png 1418w, https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/eda-application-300x152.png 300w, https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/eda-application-1200x609.png 1200w, https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/eda-application-768x390.png 768w\" sizes=\"(max-width: 1418px) 100vw, 1418px\" \/>\n<h2>What are the benefits of microservices?<\/h2>\n<p>There are many. Perhaps the most compelling benefits for large scale organisations\u2014both public and private sector\u2014are that you can:<\/p>\n<h3 style=\"font-weight: 500;\">Decrease the negative impact of shared mutable data<\/h3>\n<p>Imagine you have 500 developers supporting a monolithic application. In this scenario, there are no clear boundaries outlining the role of certain blocks of code.<\/p>\n<p>The lack of boundary\u2014and subsequent overlap or double handling between teams\u2014is the phenomenon of shared mutable data. This makes the code hard to maintain. It makes deployment difficult. And, it makes release cycles slow.<\/p>\n<p>By adopting microservices, you create and enforce hard boundaries in your code that allow teams to move independently and asynchronously. Ultimately, that means delivering more value, faster.<\/p>\n<p>Additionally, microservices empower teams to maintain discrete applications using their own preferred:<\/p>\n<ul>\n<li>Tools of choice<\/li>\n<li>Development languages of choice<\/li>\n<li>Frameworks of choice<\/li>\n<li>Data stores of choice<\/li>\n<\/ul>\n<p>Happier, self-determined technical teams typically make for faster, better, and more robust development.<\/p>\n<h3 style=\"font-weight: 500;\">Save money by calibrating infrastructure and performance profiles for specific application requirements<\/h3>\n<p>In all likelihood, the different services that comprise your application will have different performance requirements. As a quick example, consider the distinction between:<\/p>\n<ul>\n<li>A non-critical service that is accessed every three hours on Sundays to perform a background data processing function<\/li>\n<li>An incredibly high-load elastic search service<\/li>\n<\/ul>\n<p>With microservices, you have the flexibility to provision the exact infrastructure\u2014no more, no less\u2014that is required to support the unique function of each distinct service.<\/p>\n<p>In a monolithic approach, you are constrained by a \u2018highest common denominator\u2019 approach. And, you\u2019re forced to wear the equally high costs associated with overcompensating on unnecessary infrastructure. Why buy a sledgehammer when you only need to crack a peanut?<\/p>\n<h3 style=\"font-weight: 500;\">Increase speed of deployment, by decreasing the implications and impact of testing<\/h3>\n<p>With a monolith, if you make a change, that change is made in the context of multiple interconnected services with various cascading interdependencies.<\/p>\n<p>The potential consequence of any issue can reverberate throughout the entire monolithic application. As a result, you effectively have to test <i>everything<\/i> whenever you deploy a change.<\/p>\n<p style=\"font-family: Montserrat, sans-serif; font-size: 37px; color: #333; max-width: 695px;\">With a microservices approach, the monolith is broken down into, say, ten individual services. If you make an update, <span style=\"font-weight: 600; background: #FFDA2D;\">you only need to test a tenth of the codebase.<\/span><\/p>\n<p>Microservices are typically independent of each other. By only testing and deploying through a singular and distinctive service, you minimise the potential impact radius or cascading issues associated with any bug, downtime, or failure.<\/p>\n<h2>What are some common triggers for moving from a monolithic architecture to microservices?<\/h2>\n<p>In addition to the symptoms outlined above, you may also benefit from moving away from a monolith if:<\/p>\n<ul>\n<li><b>You have rapidly expanding and diverse technical teams. <\/b>This largely pertains to the issues associated with shared mutable data.<\/li>\n<li><b>You have slowed velocity of feature delivery and deployment. <\/b>If you\u2019re unable to deploy new features quickly\u2014or you\u2019re falling behind in comparison with competitors\u2014a shift to microservices can increase the pace of your development cadence.<\/li>\n<\/ul>\n<h2>So, how do events relate to microservices? What is event-driven architecture?<\/h2>\n<p>An event is a construct that allows your code to announce\u2014whether to everyone or no one\u2014that some state internal to that code has changed. Events allow you to make that announcement in a way that prevents external code from accessing a unique service\u2019s internal state.<\/p>\n<p>Events typically map to real-world actions or business triggers. Examples can include:<\/p>\n<ul>\n<li><b>An action taken by a customer:<\/b> someone updates their account details, submits a payment, navigates to a content page on a website, etc.<\/li>\n<li><b>An Internet-of-Things event:<\/b> a turnstile registering the amount of people entering a venue or arena, for example.<\/li>\n<li><b>Technical changes within an application: <\/b>like updates to a database, for example.<\/li>\n<\/ul>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"wp-image-10093 size-full\" src=\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/mapping-consumers-to-event-producers.png\" alt=\"A diagram showing that a single event producer may affect multiple event consumers\" width=\"366\" srcset=\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/mapping-consumers-to-event-producers.png 740w, https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/mapping-consumers-to-event-producers-300x246.png 300w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/p>\n<p>In an event-driven architecture, events act as signals for consumers. These consumers can trigger subsequent business processes, updates, or state-changes.<\/p>\n<p>And the individualised services that facilitate these business processes by producing and consuming events? You guessed it: microservices.<\/p>\n<p>When events and microservices come together in a practical sense\u2014like in the context of banking\u2014event-driven architectures can provide real-time, highly detailed transaction information for customers while promoting improved regulatory compliance for banks.<\/p>\n<p>Elsewhere, working in conjunction with <a href=\"https:\/\/www.equalexperts.com\/case-study\/leading-payment-platform-with-eda\/\">payment processing platforms and payment gateways<\/a> and <a href=\"https:\/\/www.equalexperts.com\/case-study\/eliminating-cyber-crime-with-event-driven-architecture\/\">national taxation offices<\/a>, we have used event-driven architectures to predict and prevent fraudulent transactions in real-time.<\/p>\n<p>The <a href=\"https:\/\/www.equalexperts.com\/our-services\/deliver\/event-driven-architecture\/\">use cases and applications for event-driven architectures<\/a> are constantly evolving. And with ever-more leading companies embracing the technology, it\u2019s an exciting time.<\/p>\n<h2>What are the unique benefits of events and event-driven architectures?<\/h2>\n<p>There\u2019s more to read in this comprehensive<a href=\"https:\/\/www.equalexperts.com\/blog\/tech-focus\/event-driven-architecture-the-good-the-bad-and-the-ugly\/\"> overview of event-driven architecture<\/a>.<\/p>\n<p>Crucially, event-driven architecture is considered a \u2018receiver-driven\u2019 routing pattern. In other words, services are configured to \u2018pull\u2019 data packets (read: events) if they are available to complete a function, rather than indiscriminately \u2018pushing\u2019 information through a synchronous, sequential chain of services that may be struggling to manage load.<\/p>\n<p>For example, \u2018service A\u2019 will publish an event to notify of a change in state. This is called a producer.<\/p>\n<p>Any number of consumers in the system can subscribe to this notification, become aware of the change in state, and update their own internal state(s) as a result.<\/p>\n<p style=\"font-family: Montserrat, sans-serif; font-size: 37px; color: #333; max-width: 695px;\">In an event-driven architecture, there are <span style=\"font-weight: 600; background: #FFDA2D;\">no\u00a0hard or sequential dependencies<\/span> between these producers and consumers.<\/p>\n<p>This creates significant improvements for speed of processing, while protecting against the potential for cascading deficiencies in the event of a service outage.<\/p>\n<p>If any single consumer fails to register the series of events it is programmed to subscribe to, the consequence is that one single microservice\u2019s internal state will become stale.<\/p>\n<h2>Simple antipatterns to avoid when adopting microservices or event-driven architecture.<\/h2>\n<p>There are many, many considerations to be mindful of. Three basic tips include:<\/p>\n<h3 style=\"font-weight: 500;\">1. Avoid throwing away any data.<\/h3>\n<p>If you have the right configurations in place\u2014like a data pipeline with a batched analytical data lake\u2014events can be useful long before you determine their immediate use case.<\/p>\n<p>Often, we see developers and engineers make the mistake of configuring an event that may have 50 properties on it, only to incorrectly assume that only ~10 of those properties are valuable for other teams or services downstream. As a result, valuable data is lost without being published.<\/p>\n<p>There\u2019s huge value to be gained\u2014and very little to lose\u2014by configuring and capturing as many events as possible. By recording more data in the form of events, you can:<\/p>\n<ul>\n<li>Rehydrate historical events for evolving business considerations moving forward, like developing user profiles for real-time fraud mitigation<\/li>\n<li>Funnel events into a data lake for big data processing and analysis<\/li>\n<\/ul>\n<p>Importantly, it\u2019s worth drawing a distinction between keeping data in the form of events and <i>publishing <\/i>data in the form of events.<\/p>\n<p>Publishing \u2018everything\u2019 can run the risk of tying the event producer(s) to some maximal set of data that may be very difficult to change in the future.<\/p>\n<p>Instead, it\u2019s better to establish a topic to hold all of the event-based data in its original form, before the data is cleaned and published for a wider audience.<\/p>\n<p>A recommended configuration or workflow may be something like:<\/p>\n<ul>\n<li>Input produces events<\/li>\n<li>Input publishes events to an \u2018internal\u2019 topic of all raw data, not meant for consumption beyond current domain boundaries<\/li>\n<li>The raw data is transformed on this \u2018internal\u2019 topic<\/li>\n<li>The data is published for wider consumption<\/li>\n<\/ul>\n<h3 style=\"font-weight: 500;\">2. Avoid issuing events as commands.<\/h3>\n<p>Be conscious of the fact that an event is merely something that has happened, not an instruction for something <i>else<\/i> to happen. The difference is nuanced, but crucial to maintain. Failure to maintain this distinction can lead to issues.<\/p>\n<h3 style=\"font-weight: 500;\">3. Avoid being too aware of the requirements of your consumers.<\/h3>\n<p>As a supplement to the above, by structuring events with specific services in mind, you effectively couple producers with consumers. Remember, many of the benefits of microservices and event-driven architectures are contingent on the independence of each service; consciously building interdependencies into your approach is directly counterintuitive and undermines overall efficacy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019re currently working with a monolith\u2014and many private enterprise and public sector organisations are\u2014then you may not realise the limitations of your architecture.<\/p>\n","protected":false},"author":173,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"categories":[5],"tags":[],"location":[393],"class_list":["post-10038","post","type-post","status-publish","format-standard","hentry","category-our-thinking"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Advantages of Microservices Over Monolithic | Equal Experts<\/title>\n<meta name=\"description\" content=\"Discover the advantages of a microservices approach with even-driven architecture over a monolithic architecture. Find out more at Equal Experts.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding event-driven architecture and microservices in comparison to a monolith.\" \/>\n<meta property=\"og:description\" content=\"Discover the advantages of a microservices approach with even-driven architecture over a monolithic architecture. Find out more at Equal Experts.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/\" \/>\n<meta property=\"og:site_name\" content=\"Equal Experts\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-07T16:00:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-21T22:40:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/Understanding_Events_and_Microservices_Blog_FB_1200x630.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mark Tranter\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EqualExperts\" \/>\n<meta name=\"twitter:site\" content=\"@EqualExperts\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mark Tranter\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/\"},\"author\":{\"name\":\"Mark Tranter\",\"@id\":\"https:\/\/www.equalexperts.com\/#\/schema\/person\/e8335deb97ae9708394f89a0cfb90a26\"},\"headline\":\"Understanding event-driven architecture and microservices in comparison to a monolith.\",\"datePublished\":\"2021-09-07T16:00:35+00:00\",\"dateModified\":\"2023-09-21T22:40:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/\"},\"wordCount\":1597,\"publisher\":{\"@id\":\"https:\/\/www.equalexperts.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application.png\",\"articleSection\":[\"Our Thinking\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/\",\"url\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/\",\"name\":\"Advantages of Microservices Over Monolithic | Equal Experts\",\"isPartOf\":{\"@id\":\"https:\/\/www.equalexperts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application.png\",\"datePublished\":\"2021-09-07T16:00:35+00:00\",\"dateModified\":\"2023-09-21T22:40:16+00:00\",\"description\":\"Discover the advantages of a microservices approach with even-driven architecture over a monolithic architecture. Find out more at Equal Experts.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#primaryimage\",\"url\":\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application.png\",\"contentUrl\":\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application.png\",\"width\":1684,\"height\":280,\"caption\":\"a diagram showing a the series nature of event producers and consumers in a monolithic application. Systems connect one after each other and hence can only process information after the previous process has completed.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.equalexperts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding event-driven architecture and microservices in comparison to a monolith.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.equalexperts.com\/#website\",\"url\":\"https:\/\/www.equalexperts.com\/\",\"name\":\"Equal Experts\",\"description\":\"Making Software. Better.\",\"publisher\":{\"@id\":\"https:\/\/www.equalexperts.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.equalexperts.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.equalexperts.com\/#organization\",\"name\":\"Equal Experts\",\"url\":\"https:\/\/www.equalexperts.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.equalexperts.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2018\/08\/Equal_Experts_Logo_CMYK_Colour.jpg\",\"contentUrl\":\"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2018\/08\/Equal_Experts_Logo_CMYK_Colour.jpg\",\"width\":719,\"height\":340,\"caption\":\"Equal Experts\"},\"image\":{\"@id\":\"https:\/\/www.equalexperts.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/EqualExperts\",\"https:\/\/www.linkedin.com\/company\/equal-experts\/?viewAsMember=true\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.equalexperts.com\/#\/schema\/person\/e8335deb97ae9708394f89a0cfb90a26\",\"name\":\"Mark Tranter\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.equalexperts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/27e878c86d6462eff81f4b50726efb78fa9940cf943c4bbddedc93ce0d38285b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/27e878c86d6462eff81f4b50726efb78fa9940cf943c4bbddedc93ce0d38285b?s=96&d=mm&r=g\",\"caption\":\"Mark Tranter\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Advantages of Microservices Over Monolithic | Equal Experts","description":"Discover the advantages of a microservices approach with even-driven architecture over a monolithic architecture. Find out more at Equal Experts.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/","og_locale":"en_GB","og_type":"article","og_title":"Understanding event-driven architecture and microservices in comparison to a monolith.","og_description":"Discover the advantages of a microservices approach with even-driven architecture over a monolithic architecture. Find out more at Equal Experts.","og_url":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/","og_site_name":"Equal Experts","article_published_time":"2021-09-07T16:00:35+00:00","article_modified_time":"2023-09-21T22:40:16+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/Understanding_Events_and_Microservices_Blog_FB_1200x630.png","type":"image\/png"}],"author":"Mark Tranter","twitter_card":"summary_large_image","twitter_creator":"@EqualExperts","twitter_site":"@EqualExperts","twitter_misc":{"Written by":"Mark Tranter","Estimated reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#article","isPartOf":{"@id":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/"},"author":{"name":"Mark Tranter","@id":"https:\/\/www.equalexperts.com\/#\/schema\/person\/e8335deb97ae9708394f89a0cfb90a26"},"headline":"Understanding event-driven architecture and microservices in comparison to a monolith.","datePublished":"2021-09-07T16:00:35+00:00","dateModified":"2023-09-21T22:40:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/"},"wordCount":1597,"publisher":{"@id":"https:\/\/www.equalexperts.com\/#organization"},"image":{"@id":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#primaryimage"},"thumbnailUrl":"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application.png","articleSection":["Our Thinking"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/","url":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/","name":"Advantages of Microservices Over Monolithic | Equal Experts","isPartOf":{"@id":"https:\/\/www.equalexperts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#primaryimage"},"image":{"@id":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#primaryimage"},"thumbnailUrl":"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application.png","datePublished":"2021-09-07T16:00:35+00:00","dateModified":"2023-09-21T22:40:16+00:00","description":"Discover the advantages of a microservices approach with even-driven architecture over a monolithic architecture. Find out more at Equal Experts.","breadcrumb":{"@id":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#primaryimage","url":"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application.png","contentUrl":"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2021\/08\/monolithic-application.png","width":1684,"height":280,"caption":"a diagram showing a the series nature of event producers and consumers in a monolithic application. Systems connect one after each other and hence can only process information after the previous process has completed."},{"@type":"BreadcrumbList","@id":"https:\/\/www.equalexperts.com\/blog\/our-thinking\/understanding-event-driven-architecture-and-microservices-in-comparison-to-a-monolith\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.equalexperts.com\/"},{"@type":"ListItem","position":2,"name":"Understanding event-driven architecture and microservices in comparison to a monolith."}]},{"@type":"WebSite","@id":"https:\/\/www.equalexperts.com\/#website","url":"https:\/\/www.equalexperts.com\/","name":"Equal Experts","description":"Making Software. Better.","publisher":{"@id":"https:\/\/www.equalexperts.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.equalexperts.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.equalexperts.com\/#organization","name":"Equal Experts","url":"https:\/\/www.equalexperts.com\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.equalexperts.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2018\/08\/Equal_Experts_Logo_CMYK_Colour.jpg","contentUrl":"https:\/\/www.equalexperts.com\/wp-content\/uploads\/2018\/08\/Equal_Experts_Logo_CMYK_Colour.jpg","width":719,"height":340,"caption":"Equal Experts"},"image":{"@id":"https:\/\/www.equalexperts.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/EqualExperts","https:\/\/www.linkedin.com\/company\/equal-experts\/?viewAsMember=true"]},{"@type":"Person","@id":"https:\/\/www.equalexperts.com\/#\/schema\/person\/e8335deb97ae9708394f89a0cfb90a26","name":"Mark Tranter","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.equalexperts.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/27e878c86d6462eff81f4b50726efb78fa9940cf943c4bbddedc93ce0d38285b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/27e878c86d6462eff81f4b50726efb78fa9940cf943c4bbddedc93ce0d38285b?s=96&d=mm&r=g","caption":"Mark Tranter"}}]}},"_links":{"self":[{"href":"https:\/\/www.equalexperts.com\/wp-json\/wp\/v2\/posts\/10038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.equalexperts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.equalexperts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.equalexperts.com\/wp-json\/wp\/v2\/users\/173"}],"replies":[{"embeddable":true,"href":"https:\/\/www.equalexperts.com\/wp-json\/wp\/v2\/comments?post=10038"}],"version-history":[{"count":0,"href":"https:\/\/www.equalexperts.com\/wp-json\/wp\/v2\/posts\/10038\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.equalexperts.com\/wp-json\/wp\/v2\/media?parent=10038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.equalexperts.com\/wp-json\/wp\/v2\/categories?post=10038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.equalexperts.com\/wp-json\/wp\/v2\/tags?post=10038"},{"taxonomy":"location","embeddable":true,"href":"https:\/\/www.equalexperts.com\/wp-json\/wp\/v2\/location?post=10038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}