{"id":5185,"date":"2020-03-15T19:52:35","date_gmt":"2020-03-15T19:52:35","guid":{"rendered":"https:\/\/smartmag.theme-sphere.com\/tech-blog\/electric-car-owners-to-pay-road-tax-from-2025-hunt-announces\/"},"modified":"2023-10-01T18:57:07","modified_gmt":"2023-10-01T17:57:07","slug":"micro-services-architecture","status":"publish","type":"post","link":"https:\/\/mulearchitects.com\/index.php\/2020\/03\/15\/micro-services-architecture\/","title":{"rendered":"Micro Services Architecture"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"b8d6\">What are Microservices?<\/h1>\n\n\n\n<p id=\"f704\">Microservices is an architectural style for developing a software application that runs as individual services which communicate with each other through the following ways<\/p>\n\n\n\n<ol>\n<li><strong>Synchronous communication<\/strong>&nbsp;using API calls<\/li>\n\n\n\n<li><strong>Asynchronous communication<\/strong>&nbsp;through Publish and Subscribe\/event-based mechanism \u2014 i.e using Message Queues<\/li>\n<\/ol>\n\n\n\n<p id=\"d6c6\">These microservices possess the following properties<\/p>\n\n\n\n<ul>\n<li><em>Independently deployable<\/em><\/li>\n\n\n\n<li><em>Highly scalable to loads<\/em><\/li>\n\n\n\n<li><em>Can be developed using multiple programming languages \u2014 i.e polyglot<\/em><\/li>\n\n\n\n<li><em>Loosely coupled<\/em><\/li>\n\n\n\n<li><em>Organized around the business domain<\/em><\/li>\n\n\n\n<li><em>Owned by small and self-contained teams<\/em><\/li>\n\n\n\n<li><em>Highly maintainable and testable<\/em><\/li>\n\n\n\n<li><em>Continuous Delivery through automated CICD pipelines and faster time to market<\/em><\/li>\n\n\n\n<li><em>Resiliency from failures<\/em><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Monolithic vs Micro services differences<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"551\" data-id=\"8091\" src=\"https:\/\/mulearchitects.com\/wp-content\/uploads\/2023\/10\/micro-vs-mono-services-1024x551.webp\" alt=\"\" class=\"wp-image-8091\" srcset=\"https:\/\/mulearchitects.com\/wp-content\/uploads\/2023\/10\/micro-vs-mono-services-1024x551.webp 1024w, https:\/\/mulearchitects.com\/wp-content\/uploads\/2023\/10\/micro-vs-mono-services-300x161.webp 300w, https:\/\/mulearchitects.com\/wp-content\/uploads\/2023\/10\/micro-vs-mono-services-768x413.webp 768w, https:\/\/mulearchitects.com\/wp-content\/uploads\/2023\/10\/micro-vs-mono-services-150x81.webp 150w, https:\/\/mulearchitects.com\/wp-content\/uploads\/2023\/10\/micro-vs-mono-services-450x242.webp 450w, https:\/\/mulearchitects.com\/wp-content\/uploads\/2023\/10\/micro-vs-mono-services.webp 1100w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Monolithic vs Microservice <code>Architecture<\/code> differences<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Microservices Architecture:<\/h3>\n\n\n\n<ol>\n<li><strong>Overview<\/strong>:\n<ul>\n<li><strong>Definition<\/strong>: Microservices architecture is an architectural style that structures an application as a collection of loosely coupled services, each representing a specific business capability.<\/li>\n\n\n\n<li><strong>Focus<\/strong>: It emphasizes breaking down applications into small, independently deployable services that can be developed, deployed, and scaled independently.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Service-Oriented<\/strong>:\n<ul>\n<li><strong>Services Independence<\/strong>: Each microservice is a self-contained unit that can be developed, deployed, and scaled independently. It often has its own database.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Decentralization<\/strong>:\n<ul>\n<li><strong>Decision-Making<\/strong>: Each microservice team has a high degree of autonomy, enabling them to choose the technologies and tools that best suit their specific service.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Scalability and Agility<\/strong>:\n<ul>\n<li><strong>Scalability<\/strong>: Enables scaling individual services based on their specific demands.<\/li>\n\n\n\n<li><strong>Agility<\/strong>: Promotes rapid development, deployment, and iteration of services.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Resilience and Fault Isolation<\/strong>:\n<ul>\n<li><strong>Fault Isolation<\/strong>: Failures in one microservice do not necessarily affect the entire application, enhancing resilience.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>What are Microservices? Microservices is an architectural style for developing a software application that runs as individual services which communicate with each other through the following ways These microservices possess the following properties Monolithic vs Micro services differences Microservices Architecture:<\/p>\n","protected":false},"author":1,"featured_media":7152,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[12,16],"tags":[21],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/posts\/5185"}],"collection":[{"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/comments?post=5185"}],"version-history":[{"count":6,"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/posts\/5185\/revisions"}],"predecessor-version":[{"id":8093,"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/posts\/5185\/revisions\/8093"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/media\/7152"}],"wp:attachment":[{"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/media?parent=5185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/categories?post=5185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mulearchitects.com\/index.php\/wp-json\/wp\/v2\/tags?post=5185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}