微服务架构的长租公寓管理系统设计
2020-01-03高超谢文聪
高超 谢文聪



摘 要:随着我国长租公寓产业的兴起,相应的公寓运营管理信息系统建设逐渐受到重视,然而业务功能的迅速变化及规模的不断膨胀给该类系统的设计带来了新的挑战。结合管理难点、痛点,基于微服务架构的相关基础,结合长租公寓实际运营管理流程与经验,设计出基于微服务架构的长租公寓运营管理信息系统的总体设计方案,最后对该系统的基本结构进行了分析与探讨。
关键词:微服务架构;长租公寓;运营管理
Abstract:With the rise of Chinas long-term rental apartment industry,the construction of the corresponding apartment operation management information system has been paid more and more attention. However,the rapid change of business functions and the continuous expansion of the scale have brought new challenges to the design of such systems. Combined with the management difficulties and pain points,based on the relevant foundation of micro-service architecture,combined with the actual operation and management process and experience of long-term rental apartment,the overall design scheme of operation and management information system of long-term rental apartment based on micro-service architecture is designed. Finally,the basic structure of the system is analyzed and discussed.
Keywords:micro-service architecture;long-term apartment;operation management
0 引 言
在“房住不炒”的政策指引下,長租公寓产业在我国蓬勃发展。较多长租公寓从业企业,例如具有酒店行业、房屋中介机构背景的企业,其运营管理信息系统多基于传统架构的单体架构(Monolithic Architecture)模式。但随着业务量的增长、需求的不断延伸,导致系统功能耦合度日益加深、代码维护工作量越来越大。为解决上述问题,提出一种基于微服务架构的长租公寓运营管理信息系统的设计思路,以期为行业内运营管理信息系统的开发提供一种思路。
1 微服务架构简介
微服务架构(Microservices Architecture)由面向对象(Object Oriented,OO)设计专家Martin Flower提出,是一种低成本、快速响应、面对复杂业务逻辑的软件系统架构设计理论。该理论的核心思想为:将具有复杂业务逻辑的软件系统拆分成彼此独立的多个服务(Service),每个服务对应现实中企业某一类具体业务,服务之间一般采用REST、JSON等轻量级通信协议进行协作通信。单个服务代码较少(通常为数百行至数千行不等),业务逻辑相对简单且运行在自己的进程中,可以独立测试、部署、运行,从而使得整体应用可以高效地迭代、运维。……
