{"id":9986,"count":668,"description":"As a result of microservices, service development, testing, problem-solving, deployment, and updating can be done by cross-functional teams independently, leading to faster deployment and troubleshooting. Automation of manual processes and the ability to share the workload reduces the overall development lifecycle.\r\n\r\nApplication development greatly benefits from the growing popularity of microservices \u2014 a technique that involves a group of loosely coupled services. Netflix and Amazon are part of the early pioneers of microservices.<\/span>\r\n\r\n

What Are Microservices?<\/b><\/h2>\r\nMicroservices<\/span> are an architectural approach to software development based on building an application as a collection of small services. There is no standard definition for what amount of code constitutes a \u201csmall service.\u201d Some experts say it\u2019s about the size at which a team can query the service\u2019s health with a single request that returns a \u201cyes\u201d or \u201cno\u201d answer. Similarly, a service is too big if it requires more than one team to manage it.<\/span>\r\n\r\nEach service has its unique and well-defined role, runs its process, and communicates via HTTP APIs or messaging. Teams can deploy, upgrade, scale, and restart each microservice independent of all the sibling services in the application. These microservices are typically orchestrated by an automated system, making it possible to have frequent updates of live applications without affecting the end-users.<\/span>\r\n\r\nhttps:\/\/www.youtube.com\/embed\/rv4LlmLmVWk\r\n\r\n

Benefits of the Microservices Framework<\/b><\/h2>\r\nMicroservices<\/span> are an evolution of a service-oriented architecture (SOA) \u2014 and some would argue that microservices are just SOA rebranded to make it hip again. Cloud-native<\/span> microservices<\/span> take the SOA concept to a new level, though. The difference now is that cloud infrastructure has finally caught up to the SOA concept so that loosely-coupled services (aka microservices) are now feasible to implement and manage at scale.<\/span>\r\n\r\nHere are some benefits of microservices architecture:<\/span>\r\n\r\nEnabling independent development<\/b>. <\/span>Microservices architecture<\/span> enables small autonomous teams to independently develop, deploy, and scale their respective services. This enablement allows more developers to work on smaller codebases, lightening the workload.<\/span>\r\n\r\nIncreasing development speed<\/b>. Microservices parallelize development, thereby speeding up the production cycle exponentially.<\/span>\r\n\r\nPromoting continuous delivery<\/b>. The adoption of microservices facilitates using <\/span>DevOps<\/span><\/a>, continuous integration, <\/span>continuous delivery (CI\/CD)<\/span><\/a>, and <\/span>containers<\/span><\/a>. There will be no need to deploy code simultaneously as developers do in a monolithic environment. This feature makes updates frequent and fast, enabling CI\/CD.<\/span>\r\n\r\nDiscover the Ten Commandments of Microservices<\/b>\r\n

The Need for Microservices Orchestration<\/b><\/h2>\r\nMicroservices orchestration manages complex production processes to enable developers to operationalize containers at scale. Orchestration coordinates workload management, communication, and microservices architecture readability. <\/span>Microservices orchestration<\/span> ensures that there is no data loss in the process of coordination. This capability eases system development for developers and enables support teams to fix problems quickly.<\/span>\r\n\r\nSeveral microservices orchestration solutions are available in the market. Here are some factors to consider when deciding on an orchestrator for your microservices:<\/span>\r\n\r\nMultiplatform integration<\/b>. All teams should be able to use the orchestrator at once. For example, the tool should support teams using an open-source developer platform and object programming languages.<\/span>\r\n\r\nEase of use<\/b>. Ideally, the orchestrator has a simple environment where the microservice interaction is easily visible.<\/span>\r\n\r\nError processing<\/b>. A microservices orchestrator allows developers to set up multiple retries and timeouts when a malfunction occurs.<\/span>\r\n\r\nNon-synchronized workflow support<\/b>. During development, some workflows run parallelly and may not be simultaneous. An orchestrator should save current data, stabilize general performance, and simplify development.<\/span>\r\n\r\nScalability<\/b>. Unlike monolithic applications requiring multiple instances for every component, microservices allow teams to scale a part of an application independently, according to the component's resource needs.<\/span>\r\n

Challenges with Microservices<\/b><\/h2>\r\nMicroservices have many advantages, but <\/span>migrating away from a monolith<\/span><\/a> introduces challenges.<\/span>\r\n\r\nHere are some drawbacks of using a microservice architecture:<\/span>\r\n\r\nComplexity<\/b>. With a microservices architecture, service discovery, networking, testing, and monitoring become more complex and difficult, if not impossible, to manage following reliable older systems and practices. And the problem is amplified as the number of services grows.<\/span>\r\n\r\nExcess Resource Consumption<\/b>. Tools that once seemed essential, such as logging, are now racking up huge bills that can send a microservices migration into negative return on investment (ROI) territory. Although microservices support the efficient use of resources, they can also increase resource consumption as services grow. Each microservice would need its own container and instance, which may increase the CPU and storage use.<\/span>\r\n\r\nRouting Microservices<\/b>. In a traditional microservices approach, teams run only the small services they need and nothing else. It\u2019s a sleek setup, but these services are not aware of each other until you step in to orchestrate them. Orchestrating services requires time and resources beyond the engineering reach of many small to midsize organizations.<\/span>\r\n

Relationship between Microservices and Containers<\/b><\/h2>\r\nA <\/span>microservice architecture<\/span> splits applications into different services that perform specific functions. Each microservice has a unique logical function for each part of a monolithic application.<\/span>\r\n\r\nContainers are packages that contain microservices. These containers also house code, dependencies, binaries, and libraries. Container-based \u2014 and open source \u2014 systems like Docker and Kubernetes are very effective ways to develop, deploy, and manage microservices in an enterprise environment. Many mature and robust tools, platforms, and other services exist in the container space, rendering containerization a natural fit for microservices-based applications.<\/span>\r\n

Why Organizations Are Embracing Microservices Solutions<\/b><\/h2>\r\nA leap forward is now happening with microservices. There is a virtual tech sector land rush on, with companies feverishly producing microservices and the platforms, tools, and frameworks necessary for joining them together.<\/span>\r\n

Keep up with Microservices Developments on The New Stack<\/b><\/h2>\r\nIt can be difficult to gauge both the best fit and ultimate longevity at this stage in the developing ecosystem around microservices. Despite the abundant potential benefits, microservices are not the right solution for every project. A well-built monolithic architecture can also scale and remains the best option in many scenarios.<\/span>\r\n\r\nMany <\/span>business and process decisions<\/span><\/a> are involved in transitioning to a microservices-based architecture. Still, many companies for which microservices are the best option and well worth the immediate challenge.<\/span>\r\n\r\nWe monitor microservice architecture developments, new orchestration tools, and microservices frameworks at The New Stack. Be sure to bookmark this page to read the latest articles on microservices.<\/span>","link":"https:\/\/thenewstack.io\/microservices\/","name":"Microservices","slug":"microservices","taxonomy":"category","parent":0,"meta":[],"acf":[],"yoast_head":"\nEverything You Should Know About Microservices | The New Stack<\/title>\n<meta name=\"description\" content=\"Cloud microservices speed up production cycles exponentially by allowing teams to develop and scale services independently. Read more about microservices.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thenewstack.io\/microservices\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Microservices Archives\" \/>\n<meta property=\"og:description\" content=\"Cloud microservices speed up production cycles exponentially by allowing teams to develop and scale services independently. Read more about microservices.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thenewstack.io\/microservices\/\" \/>\n<meta property=\"og:site_name\" content=\"The New Stack\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@thenewstack\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"CollectionPage\",\"@id\":\"https:\/\/thenewstack.io\/microservices\/\",\"url\":\"https:\/\/thenewstack.io\/microservices\/\",\"name\":\"Everything You Should Know About Microservices | The New Stack\",\"isPartOf\":{\"@id\":\"https:\/\/thenewstack.io\/#website\"},\"description\":\"Cloud microservices speed up production cycles exponentially by allowing teams to develop and scale services independently. Read more about microservices.\",\"breadcrumb\":{\"@id\":\"https:\/\/thenewstack.io\/microservices\/#breadcrumb\"},\"inLanguage\":\"en-US\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/thenewstack.io\/microservices\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/thenewstack.io\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Microservices\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thenewstack.io\/#website\",\"url\":\"https:\/\/thenewstack.io\/\",\"name\":\"The New Stack\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/thenewstack.io\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/thenewstack.io\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/thenewstack.io\/#organization\",\"name\":\"The New Stack\",\"url\":\"https:\/\/thenewstack.io\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/thenewstack.io\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdn.thenewstack.io\/media\/2021\/11\/a9fbec84-the-new-stack-logo-rgb-screen.png\",\"contentUrl\":\"https:\/\/cdn.thenewstack.io\/media\/2021\/11\/a9fbec84-the-new-stack-logo-rgb-screen.png\",\"width\":1032,\"height\":128,\"caption\":\"The New Stack\"},\"image\":{\"@id\":\"https:\/\/thenewstack.io\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/thenewstack\",\"https:\/\/twitter.com\/thenewstack\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Everything You Should Know About Microservices | The New Stack","description":"Cloud microservices speed up production cycles exponentially by allowing teams to develop and scale services independently. Read more about microservices.","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:\/\/thenewstack.io\/microservices\/","og_locale":"en_US","og_type":"article","og_title":"Microservices Archives","og_description":"Cloud microservices speed up production cycles exponentially by allowing teams to develop and scale services independently. Read more about microservices.","og_url":"https:\/\/thenewstack.io\/microservices\/","og_site_name":"The New Stack","twitter_card":"summary_large_image","twitter_site":"@thenewstack","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"CollectionPage","@id":"https:\/\/thenewstack.io\/microservices\/","url":"https:\/\/thenewstack.io\/microservices\/","name":"Everything You Should Know About Microservices | The New Stack","isPartOf":{"@id":"https:\/\/thenewstack.io\/#website"},"description":"Cloud microservices speed up production cycles exponentially by allowing teams to develop and scale services independently. Read more about microservices.","breadcrumb":{"@id":"https:\/\/thenewstack.io\/microservices\/#breadcrumb"},"inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https:\/\/thenewstack.io\/microservices\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thenewstack.io\/"},{"@type":"ListItem","position":2,"name":"Microservices"}]},{"@type":"WebSite","@id":"https:\/\/thenewstack.io\/#website","url":"https:\/\/thenewstack.io\/","name":"The New Stack","description":"","publisher":{"@id":"https:\/\/thenewstack.io\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thenewstack.io\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/thenewstack.io\/#organization","name":"The New Stack","url":"https:\/\/thenewstack.io\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/thenewstack.io\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.thenewstack.io\/media\/2021\/11\/a9fbec84-the-new-stack-logo-rgb-screen.png","contentUrl":"https:\/\/cdn.thenewstack.io\/media\/2021\/11\/a9fbec84-the-new-stack-logo-rgb-screen.png","width":1032,"height":128,"caption":"The New Stack"},"image":{"@id":"https:\/\/thenewstack.io\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/thenewstack","https:\/\/twitter.com\/thenewstack"]}]}},"_links":{"self":[{"href":"https:\/\/thenewstack.io\/wp-json\/wp\/v2\/categories\/9986"}],"collection":[{"href":"https:\/\/thenewstack.io\/wp-json\/wp\/v2\/categories"}],"about":[{"href":"https:\/\/thenewstack.io\/wp-json\/wp\/v2\/taxonomies\/category"}],"wp:post_type":[{"href":"https:\/\/thenewstack.io\/wp-json\/wp\/v2\/posts?categories=9986"},{"href":"https:\/\/thenewstack.io\/wp-json\/wp\/v2\/event?categories=9986"},{"href":"https:\/\/thenewstack.io\/wp-json\/wp\/v2\/sponsor?categories=9986"},{"href":"https:\/\/thenewstack.io\/wp-json\/wp\/v2\/podcasts?categories=9986"},{"href":"https:\/\/thenewstack.io\/wp-json\/wp\/v2\/solutions-guides?categories=9986"},{"href":"https:\/\/thenewstack.io\/wp-json\/wp\/v2\/products?categories=9986"},{"href":"https:\/\/thenewstack.io\/wp-json\/wp\/v2\/pages?categories=9986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}