Distributed Internet e-commerce platform of large enterprises, the cloud business platform system of PC+ wechat +APP+ cloud service has been launched, including B2B, B2C, C2C, O2O, new retail, livestreaming e-commerce and other sub-platforms.
According to the micro-service design idea, combined with Spring
Cloud has some excellent projects, such as service discovery, governance, configuration management, routing load, security control and other excellent solutions. Maven technology is used to encapsulate and build the framework in modularization, servitization and atomization, which also prepares for the grayscale release and continuous integration in advance.
In addition, before setting up the environment, you need to be familiar with the use of Maven and related problems (I will not repeat the introduction here).
The HongHu cloud architecture is constructed by Maven. Maven is not only used for jar package control, but also one of the core functions of Maven. That is, the whole project is divided in a modular way to decouple business from business, and then the modular business is servitized or componentized. This allows business migration to any project or platform.
Finally, consider the fine-grained decomposition of services, such as a login module, where we can servize all login-related businesses (basic information verification; User name, email, mobile phone login verification; Mobile verification code acquisition; Verify whether users are bound, etc.), and finally orchestrate services for multiple services, thus achieving the ongoing microservices architecture.
HongHu code structure diagram:
Data and source code