{"id":1620,"date":"2019-12-13T12:20:40","date_gmt":"2019-12-13T12:20:40","guid":{"rendered":"https:\/\/www.cloudnowtech.com\/blog\/?p=1620"},"modified":"2021-11-19T15:23:00","modified_gmt":"2021-11-19T09:53:00","slug":"top-microservices-antipatterns-to-watchout","status":"publish","type":"post","link":"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/","title":{"rendered":"5 Microservices Antipatterns To Watch Out For"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">A lot has been said about the benefits of Microservices &#8211; and most of it is true.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, here are a few antipatterns &#8211; practices that introduce more problems than they solve &#8211; that you need to be wary about before you decide to implement a microservices solution or refactor an existing application with microservices.<\/span><!--more--><\/p>\n<p><b>Not breaking the monolith correctly<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Refactoring an existing monolithic application into microservices isn\u2019t as easy as it seems. It is not about simply breaking up the bulk of the application into smaller segments. Intentional division of services is essential &#8211; by domain or by the unit of work &#8211; in order to avoid the mistake of breaking one monolithic application into multiple smaller, but still monolithic, applications.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If the application itself if a complex one, careful decomposition of microservices becomes even more crucial as orchestration, distributed transactions, service discovery, and recovery are also factors to consider.<\/span><\/p>\n<p><b>Including too many services<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The whole point of <a href=\"https:\/\/www.cloudnowtech.com\/application-development-services.html\">microservices architecture<\/a> is to simplify things. However, inexperienced teams often end up including too many services and service elements which will complicate rather than simplify the application architecture.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This can also significantly affect RoI as, instead of reducing costs, the <a href=\"https:\/\/www.cloudnowtech.com\/services\/application-development.html\">microservices architecture<\/a> might end up exceeding the budget set aside for infrastructure, operations, and even troubleshooting. Increased latency and decreased performance are also other effects of this anti-pattern.<\/span><\/p>\n<p><b>Not accounting for sufficient monitoring and testing<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Distributed programming is, in itself, challenging. Therefore, being prepared for unreliable networks, bandwidth constraints, latency issues, and other factors need to be considered. It is crucial to ensure adequate log aggregation and visualization, both for the application components and infrastructure resources. This needs to be done before deployment and can be done through cloud service providers.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the same way, when services are not tested adequately before deployment, they can cause a number of issues when dependencies are no longer available.\u00a0<\/span><\/p>\n<p><b>Wanting to use all the latest technology<\/b><\/p>\n<p><span style=\"font-weight: 400;\">There will always be new technology, but that doesn\u2019t mean that you need to use it just because it exists. If there is no architecture team to govern and coordinate the <a href=\"https:\/\/www.cloudnowtech.com\/application-development-services.html\">microservices development<\/a>, developers may go overboard and try to incorporate unnecessary and unwarranted details.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Whether it is the mistake of adding too many coupled and layered container-based services on a small system or splitting up a small database into multiple different data stores, there are a number of ways in which microservices can be abused. Architects must take responsibility for ensuring that only the required technologies are being used and that developers stick to technical norms.<\/span><\/p>\n<p><b>Retaining a monolithic data structure<\/b><\/p>\n<p><span style=\"font-weight: 400;\">This happens when the entire application has been decomposed to a microservices application &#8211; except the data, which is being maintained in a monolithic data store. The biggest hassle will be in keeping track of data and schema changes.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The risk of any changes made to a production database looms large and may need a full outage of the database to prevent blocks in the system. These potential outages will also affect SLAs. Managing access and ensuring control over the data will also be a challenge since multiple applications will be accessing the same data store. As the data continues to grow, archival and cleanup will also become more challenging.<\/span><\/p>\n<p><i><span style=\"font-weight: 400;\">Often, it is a lack of experience that leads to these mistakes. To truly leverage the advantages of microservices architecture, what you need is the expertise of an experienced team. At CloudNow, we offer both <a href=\"https:\/\/www.cloudnowtech.com\/application-development-services.html\">custom development of applications and modernization of monolithic applications<\/a> with Microservices Architecture and Containerization. <a href=\"https:\/\/www.cloudnowtech.com\/contact-us.html\">Get in touch<\/a> with us to know more!<\/span><\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A lot has been said about the benefits of Microservices &#8211; and most of it is true. However, here are a few antipatterns &#8211; practices that introduce more problems than they solve &#8211; that you need to be wary about before you decide to implement a microservices solution or refactor an existing application with microservices.<\/p>\n","protected":false},"author":7,"featured_media":2514,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[277,51],"tags":[74],"class_list":["post-1620","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-application-development-modernization","category-microservices","tag-application-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Top Microservices Antipatterns - Discover Better Value Faster<\/title>\n<meta name=\"description\" content=\"These are five common mistakes that inexperienced developers make when adopting a microservices architecture. Are you making them too?\" \/>\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\/top-microservices-antipatterns-to-watchout\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Top Microservices Antipatterns - Discover Better Value Faster\" \/>\n<meta property=\"og:description\" content=\"These are five common mistakes that inexperienced developers make when adopting a microservices architecture. Are you making them too?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/\" \/>\n<meta property=\"og:site_name\" content=\"Discover Better Value Faster\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-13T12:20:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-19T09:53:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2019\/12\/Microservices-Antipatterns-To-Watch-Out-For-07-12-19-1140-x-760.png?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=\"Saravanan S\" \/>\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\/top-microservices-antipatterns-to-watchout\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2019\/12\/Microservices-Antipatterns-To-Watch-Out-For-07-12-19-1140-x-760.png?fit=1140%2C760&ssl=1\",\"contentUrl\":\"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2019\/12\/Microservices-Antipatterns-To-Watch-Out-For-07-12-19-1140-x-760.png?fit=1140%2C760&ssl=1\",\"width\":1140,\"height\":760},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/#webpage\",\"url\":\"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/\",\"name\":\"Top Microservices Antipatterns - Discover Better Value Faster\",\"isPartOf\":{\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/#primaryimage\"},\"datePublished\":\"2019-12-13T12:20:40+00:00\",\"dateModified\":\"2021-11-19T09:53:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/#\/schema\/person\/05ff5e07135c2b9e3b213d6b5c2ef840\"},\"description\":\"These are five common mistakes that inexperienced developers make when adopting a microservices architecture. Are you making them too?\",\"breadcrumb\":{\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.cloudnowtech.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"5 Microservices Antipatterns To Watch Out For\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/#\/schema\/person\/05ff5e07135c2b9e3b213d6b5c2ef840\",\"name\":\"Saravanan S\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.cloudnowtech.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/aa366f547aa16563e97ba5a011614687e5939d9451b1345d3cf8cfd3a843334a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/aa366f547aa16563e97ba5a011614687e5939d9451b1345d3cf8cfd3a843334a?s=96&d=mm&r=g\",\"caption\":\"Saravanan S\"},\"url\":\"https:\/\/www.cloudnowtech.com\/blog\/author\/saravanan-s\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Top Microservices Antipatterns - Discover Better Value Faster","description":"These are five common mistakes that inexperienced developers make when adopting a microservices architecture. Are you making them too?","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\/top-microservices-antipatterns-to-watchout\/","og_locale":"en_US","og_type":"article","og_title":"Top Microservices Antipatterns - Discover Better Value Faster","og_description":"These are five common mistakes that inexperienced developers make when adopting a microservices architecture. Are you making them too?","og_url":"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/","og_site_name":"Discover Better Value Faster","article_published_time":"2019-12-13T12:20:40+00:00","article_modified_time":"2021-11-19T09:53:00+00:00","og_image":[{"width":1140,"height":760,"url":"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2019\/12\/Microservices-Antipatterns-To-Watch-Out-For-07-12-19-1140-x-760.png?fit=1140%2C760&ssl=1","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Saravanan S","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\/top-microservices-antipatterns-to-watchout\/#primaryimage","inLanguage":"en-US","url":"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2019\/12\/Microservices-Antipatterns-To-Watch-Out-For-07-12-19-1140-x-760.png?fit=1140%2C760&ssl=1","contentUrl":"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2019\/12\/Microservices-Antipatterns-To-Watch-Out-For-07-12-19-1140-x-760.png?fit=1140%2C760&ssl=1","width":1140,"height":760},{"@type":"WebPage","@id":"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/#webpage","url":"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/","name":"Top Microservices Antipatterns - Discover Better Value Faster","isPartOf":{"@id":"https:\/\/www.cloudnowtech.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/#primaryimage"},"datePublished":"2019-12-13T12:20:40+00:00","dateModified":"2021-11-19T09:53:00+00:00","author":{"@id":"https:\/\/www.cloudnowtech.com\/blog\/#\/schema\/person\/05ff5e07135c2b9e3b213d6b5c2ef840"},"description":"These are five common mistakes that inexperienced developers make when adopting a microservices architecture. Are you making them too?","breadcrumb":{"@id":"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cloudnowtech.com\/blog\/top-microservices-antipatterns-to-watchout\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cloudnowtech.com\/blog\/"},{"@type":"ListItem","position":2,"name":"5 Microservices Antipatterns To Watch Out For"}]},{"@type":"Person","@id":"https:\/\/www.cloudnowtech.com\/blog\/#\/schema\/person\/05ff5e07135c2b9e3b213d6b5c2ef840","name":"Saravanan S","image":{"@type":"ImageObject","@id":"https:\/\/www.cloudnowtech.com\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/aa366f547aa16563e97ba5a011614687e5939d9451b1345d3cf8cfd3a843334a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aa366f547aa16563e97ba5a011614687e5939d9451b1345d3cf8cfd3a843334a?s=96&d=mm&r=g","caption":"Saravanan S"},"url":"https:\/\/www.cloudnowtech.com\/blog\/author\/saravanan-s\/"}]}},"jetpack_featured_media_url":"https:\/\/i1.wp.com\/www.cloudnowtech.com\/blog\/wp-content\/uploads\/2019\/12\/Microservices-Antipatterns-To-Watch-Out-For-07-12-19-1140-x-760.png?fit=1140%2C760&ssl=1","_links":{"self":[{"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/posts\/1620","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/comments?post=1620"}],"version-history":[{"count":3,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/posts\/1620\/revisions"}],"predecessor-version":[{"id":3047,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/posts\/1620\/revisions\/3047"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/media\/2514"}],"wp:attachment":[{"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/media?parent=1620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/categories?post=1620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudnowtech.com\/blog\/wp-json\/wp\/v2\/tags?post=1620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}