{"id":2736,"date":"2021-09-16T04:34:34","date_gmt":"2021-09-16T04:34:34","guid":{"rendered":"https:\/\/www.cloudnowtech.com\/blog\/?p=2736"},"modified":"2021-12-09T17:29:57","modified_gmt":"2021-12-09T11:59:57","slug":"is-my-microservice-actually-a-distributed-monolith-in-disguise","status":"publish","type":"post","link":"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/","title":{"rendered":"Is my Microservice actually a Distributed Monolith in disguise?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Has your app modernization exercise gone wrong?\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Application redevelopment into microservices-based architecture can result in apps that incorporate the complexity of microservices with the shortcomings of a monolith &#8211; the worst of both worlds! This is called a Distributed Monolith.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Proper microservices-based architecture creates distinct units with clearly defined inter-service boundaries. The application is fragmented into individual business services, each of which functions independently of the other, communicating through APIs. Each can even be hosted on a different server.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">On the downside, they are much more complex and require more tech support. However, since they use fewer resources and are more scalable, and enable an organization to more easily evolve its technology stack, microservices-based architecture is the future of <a href=\"https:\/\/www.cloudnowtech.com\/application-development-services.html\">application development and application modernization<\/a>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A distributed monolith, on the other hand, combines the worst part of microservices-based architecture &#8211; the complex containerized structure &#8211; with the lack of scalability, slow processing and complex editing of a monolithic application.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Deployed like a microservice, the application is structured like a monolith in a single package of source code, configurations, libraries, and every other dependency in a single container.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As a result, artifacts are large, slow and are very resource-intensive. Even worse, failures cascade from one container to the next, and any change on any service can require a complete rebuild and redeploy.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The whole point of microservices-based architecture is that a <a href=\"https:\/\/www.cloudnowtech.com\/devops-services.html\">DevOps<\/a> team should be able to add \u201cjust one thing\u201d, without redeploying the entire codebase.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Distributed monoliths are also not designed for distributed systems, so horizontal scaling is inefficient.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">What are the signs that you\u2019ve ended up with a distributed monolith?<\/span><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Are your functions too dependent on each other?<\/b><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Tight coupling of services is a classic sign of distributed monolith architecture. Since the different functions in a distributed monolith can share a common code base, this results in extremely tight coupling and low differentiation between functions. As microservices are not tightly coupled, they offer rapid and reliable delivery of applications.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Can you easily and efficiently scale your apps?\u00a0<\/b><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Distributed monoliths exhibit inefficiency in scaling. A major advantage of microservices-based architecture is ease of scaling. <a href=\"https:\/\/www.cloudnowtech.com\/application-development-services.html\">Microservices-based architecture<\/a> helps keep costs low while handling sudden changes in demand and prevent system overload.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Can you update your application easily?<\/b><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">This is the big one! With distributed monoliths, updating applications is much more difficult. This is because there is too much data sharing between distributed systems. As a result, any change in one distributed monolith begins a cascading effect and can result in errors or failure across multiple functions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A good illustration of this concept is the popular blogging platform and content management system, WordPress. WordPress uses a MySQL database to store data, which means a page load can generate multiple MySQL queries.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">WordPress, therefore, works best with a low-latency database connection, but this creates a temporal dependency.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In Kubernetes, one can deploy WordPress and MySQL in the same Pod, but this ends up creating a pod that serves multiple functions, needs greater system resources, has an increased start-up time, and is owned by both the application and database team. In short, it is a monolith packaged as a microservice.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Moving to microservices is therefore more than just repackaging monolithic applications. When companies move to microservices, it can add complexity to the overall development process. The right service provider can help make the deployment smoother.<\/span><\/p>\n<p><i><span style=\"font-weight: 400;\">CloudNow delivers both custom development of <a href=\"https:\/\/www.cloudnowtech.com\/application-development-services.html\">applications and modernization<\/a> of monolithic applications with Microservices Architecture and Containerization. Interested in our services? <a href=\"https:\/\/www.cloudnowtech.com\/contact-us.html\">Get in touch with us today!<\/a><\/span><\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Has your app modernization exercise gone wrong?\u00a0 Application redevelopment into microservices-based architecture can result in apps that incorporate the complexity of microservices with the shortcomings of a monolith &#8211; the worst of both worlds! This is called a Distributed Monolith. Proper microservices-based architecture creates distinct units with clearly defined inter-service boundaries. The application is fragmented [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":2737,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[277],"tags":[294,75,300],"class_list":["post-2736","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-application-development-modernization","tag-app-modernization","tag-application-modernization","tag-micro-services-based-architecture"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Is my Microservice actually a Distributed Monolith in disguise? - Discover Better Value Faster<\/title>\n<meta name=\"description\" content=\"Has your #applicationmodernization exercise gone wrong? When redeveloping your monolithic #app into #microservices-based architecture, avoid the pitfall of creating a distributed #monolith.\" \/>\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.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Is my Microservice actually a Distributed Monolith in disguise? - Discover Better Value Faster\" \/>\n<meta property=\"og:description\" content=\"Has your #applicationmodernization exercise gone wrong? When redeveloping your monolithic #app into #microservices-based architecture, avoid the pitfall of creating a distributed #monolith.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/\" \/>\n<meta property=\"og:site_name\" content=\"Discover Better Value Faster\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-16T04:34:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-09T11:59:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/09\/Blog-41.jpeg?fit=1140%2C760&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1140\" \/>\n\t<meta property=\"og:image:height\" content=\"760\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SatyaDev Addeppally\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/#website\",\"url\":\"https:\/\/www.cloudnowtech.com\/blog\/\",\"name\":\"Discover Better Value Faster\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cloudnowtech.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/09\/Blog-41.jpeg?fit=1140%2C760&ssl=1\",\"contentUrl\":\"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/09\/Blog-41.jpeg?fit=1140%2C760&ssl=1\",\"width\":1140,\"height\":760,\"caption\":\"Is my Microservice actually a Distributed Monolith in disguise?\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/#webpage\",\"url\":\"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/\",\"name\":\"Is my Microservice actually a Distributed Monolith in disguise? - Discover Better Value Faster\",\"isPartOf\":{\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/#primaryimage\"},\"datePublished\":\"2021-09-16T04:34:34+00:00\",\"dateModified\":\"2021-12-09T11:59:57+00:00\",\"author\":{\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/#\/schema\/person\/2e76f56977117c409772392b0ced58c6\"},\"description\":\"Has your #applicationmodernization exercise gone wrong? When redeveloping your monolithic #app into #microservices-based architecture, avoid the pitfall of creating a distributed #monolith.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.cloudnowtech.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Is my Microservice actually a Distributed Monolith in disguise?\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/#\/schema\/person\/2e76f56977117c409772392b0ced58c6\",\"name\":\"SatyaDev Addeppally\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/11\/sathyadev-96x96.jpg\",\"contentUrl\":\"https:\/\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/11\/sathyadev-96x96.jpg\",\"caption\":\"SatyaDev Addeppally\"},\"description\":\"Enterprising leader with an analytical bent of mind offering a proven history of success by supervising, planning &amp; managing multifaceted projects &amp; complex dependencies; chronicled success with 22 years of extensive experience including international experience.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/satyadevaddepally\/\"],\"url\":\"https:\/\/www.cloudnowtech.com\/blog\/author\/satyadev-a\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Is my Microservice actually a Distributed Monolith in disguise? - Discover Better Value Faster","description":"Has your #applicationmodernization exercise gone wrong? When redeveloping your monolithic #app into #microservices-based architecture, avoid the pitfall of creating a distributed #monolith.","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.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/","og_locale":"en_US","og_type":"article","og_title":"Is my Microservice actually a Distributed Monolith in disguise? - Discover Better Value Faster","og_description":"Has your #applicationmodernization exercise gone wrong? When redeveloping your monolithic #app into #microservices-based architecture, avoid the pitfall of creating a distributed #monolith.","og_url":"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/","og_site_name":"Discover Better Value Faster","article_published_time":"2021-09-16T04:34:34+00:00","article_modified_time":"2021-12-09T11:59:57+00:00","og_image":[{"width":1140,"height":760,"url":"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/09\/Blog-41.jpeg?fit=1140%2C760&ssl=1","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"SatyaDev Addeppally","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.cloudnowtech.com\/blog\/#website","url":"https:\/\/www.cloudnowtech.com\/blog\/","name":"Discover Better Value Faster","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cloudnowtech.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/#primaryimage","inLanguage":"en-US","url":"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/09\/Blog-41.jpeg?fit=1140%2C760&ssl=1","contentUrl":"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/09\/Blog-41.jpeg?fit=1140%2C760&ssl=1","width":1140,"height":760,"caption":"Is my Microservice actually a Distributed Monolith in disguise?"},{"@type":"WebPage","@id":"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/#webpage","url":"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/","name":"Is my Microservice actually a Distributed Monolith in disguise? - Discover Better Value Faster","isPartOf":{"@id":"https:\/\/www.cloudnowtech.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/#primaryimage"},"datePublished":"2021-09-16T04:34:34+00:00","dateModified":"2021-12-09T11:59:57+00:00","author":{"@id":"https:\/\/www.cloudnowtech.com\/blog\/#\/schema\/person\/2e76f56977117c409772392b0ced58c6"},"description":"Has your #applicationmodernization exercise gone wrong? When redeveloping your monolithic #app into #microservices-based architecture, avoid the pitfall of creating a distributed #monolith.","breadcrumb":{"@id":"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cloudnowtech.com\/blog\/is-my-microservice-actually-a-distributed-monolith-in-disguise\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cloudnowtech.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Is my Microservice actually a Distributed Monolith in disguise?"}]},{"@type":"Person","@id":"https:\/\/www.cloudnowtech.com\/blog\/#\/schema\/person\/2e76f56977117c409772392b0ced58c6","name":"SatyaDev Addeppally","image":{"@type":"ImageObject","@id":"https:\/\/www.cloudnowtech.com\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/11\/sathyadev-96x96.jpg","contentUrl":"https:\/\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/11\/sathyadev-96x96.jpg","caption":"SatyaDev Addeppally"},"description":"Enterprising leader with an analytical bent of mind offering a proven history of success by supervising, planning &amp; managing multifaceted projects &amp; complex dependencies; chronicled success with 22 years of extensive experience including international experience.","sameAs":["https:\/\/www.linkedin.com\/in\/satyadevaddepally\/"],"url":"https:\/\/www.cloudnowtech.com\/blog\/author\/satyadev-a\/"}]}},"jetpack_featured_media_url":"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2021\/09\/Blog-41.jpeg?fit=1140%2C760&ssl=1","_links":{"self":[{"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/posts\/2736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/comments?post=2736"}],"version-history":[{"count":4,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/posts\/2736\/revisions"}],"predecessor-version":[{"id":3176,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/posts\/2736\/revisions\/3176"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/media\/2737"}],"wp:attachment":[{"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/media?parent=2736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/categories?post=2736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/tags?post=2736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}