Microservice architecture is a trending topic in software design architecture and many enterprises adopted microservice design due its benefits and the rapid and wide deployment of cloud computing and as a result, many enterprises transformed their existing monolithic application to microservice to achieve business requirements as scaling up and agile development. In this paper we will guide software developers how to convert their existing monolithic application into microservice application without re-writing the whole microservice application from scratch, and we will also discuss the common issues that may face the software developer during the conversion processes. In addition to converting the business logic to microservice, we mention steps for converting the monolithic database into a database per service. Also, we summarize how Netflix and Airbnb converted their monolithic application to microservice application.
翻译:微服务架构是当前软件设计架构中的热门话题,诸多企业因微服务设计的优势以及云计算的快速广泛部署而采用该架构。因此,众多企业将其现有单体应用改造为微服务应用,以满足业务扩展和敏捷开发等需求。本文旨在指导软件开发者如何在不完全重写微服务应用的情况下,将现有单体应用转换为微服务应用,同时探讨转换过程中开发者可能面临的常见问题。除业务逻辑向微服务迁移外,本文还阐述了将单体数据库转换为"每服务独立数据库"的步骤。此外,我们总结了Netflix和Airbnb如何将其单体应用成功转型为微服务应用的经验。
Airbnb https://zh.airbnb.com/?af=83334047 成立于 2008 年 8 月,总部位于加利福尼亚州旧金山市。Airbnb 是一个值得信赖的社区型市场,在这里人们可以通过网站、手机或平板电脑发布、发掘和预订世界各地的独特房源。无论是想在公寓里住一个晚上,或在城堡里呆一个星期,又或在别墅住上一个月,都能以任何价位享受到 Airbnb 在全球 191 个国家的 34,000 多个城市为你带来的独一无二的住宿体验。