当前位置:网站首页>SaaS application development guide
SaaS application development guide
2022-06-22 17:56:00 【Hua Weiyun】
Catalog
SaaS project
SaaS Application development guidance
SaaS application Samples
SaaS Multi tenancy routing plug-in
Services with different architectures SaaS The solution
Monomer architecture
Microservice architecture
k8s framework (CCE)
Istio framework
Exclusive resource mode SaaS Service development
Resource preparation of exclusive resource mode
Shared resource mode SaaS Service development
Tenant identification
Tenant routing
Resource allocation of shared resource pool mode
Tenants' personalized needs
Personalized configuration
Metadata driven design
Tenant business customization
Tenant process customization
Tenant management
Tenant account system
Tenant registration
SaaS The system operational
Deploy
CICD
Stretch and stretch
Service release
System observability
Tenant log data collection and analysis
SaaS System operation
SaaS Service billing policy
SaaS Operational data analysis
SaaS project
SaaS Application development guidance
https://support.developer.huaweicloud.com/doc/zh-cn_topic_0000001271256348-0000001271256348
SaaS application Samples
https://gitee.com/HuaweiCloudDeveloper/saas-housekeeper
SaaS Multi tenancy routing plug-in
https://gitee.com/HuaweiCloudDeveloper/saas-tenant-router-starter
Services with different architectures SaaS The solution
Monomer architecture
《 Stay tuned 》
Microservice architecture
《 Stay tuned 》
k8s framework (CCE)
《 Stay tuned 》
Istio framework
《 Stay tuned 》
Exclusive resource mode SaaS Service development
Exclusive resource mode SaaS Services can be implemented in several modes on Huawei cloud , For example, account isolation ,vpc Isolation , Subnet isolation, etc , There is nothing special to pay attention to in application development , Focus on resource preparation and rapid deployment
Resource preparation of exclusive resource mode
《 Stay tuned 》
Shared resource mode SaaS Service development
Tenant identification
The service should identify the tenant corresponding to the request , There are usually two ways , First, according to the domain name , Second, the name of the tenant
Tenant routing
According to the different isolation methods of tenants , The tenant routing strategy is also different , It is explained in detail in our application development guide
housekeeper The project adopts domain name identification , This project uses api gateway , When the user requests to enter api The gateway can recognize the domain name requested by the user , Exclusive to the tenant domain Assign request header
In the microservice, the request header content will be obtained , Identify tenants
Storage of tenant identity , Tenant ID usage per request HystrixRequestVariableDefault Storage , See also :
For tenant routing, please refer to the open source plug-ins we rely on
https://gitee.com/HuaweiCloudDeveloper/saas-tenant-router-starter
When a microservice invokes other services , The context needs to carry the tenant id
For example, inter service requests , Through the Interceptor at openfeign Add the tenant ID in the request header of :
For example, database requests , Switch database source and schema:
Resource allocation of shared resource pool mode
《 Stay tuned 》
Tenants' personalized needs
Personalized configuration
Tenants will want to have an enterprise personalized display on their own applications , You need to allow tenants to configure their own enterprise elements , for example logo, Page style, etc
for example housekeeper In the service, the tenant can configure the page style of its own tenant service
Metadata driven design
The metadata design of tenants can be understood as making the structure and content of some entities configurable , for example housekeeper In the project , The service published by the service can define the specifications and meanings of various dimensions of the service
Tenant business customization
《 Stay tuned 》
Tenant process customization
《 Stay tuned 》
Tenant management
Tenant account system
SaaS Accounts can be divided into two ways from the scope dimension
One is common in the system , One is common in the tenant domain , Specific see SaaS Application development documentation
housekeeper The project adopts the account system of the tenant domain , See the project jwt Generation :
Tenant registration
Tenants can use SaaS The management service registers its own information , Obtain tenant rights through business operations , from SaaS admin The role is responsible for opening the tenant account .
SaaS The system operational
Deploy
《 Stay tuned 》
CICD
《 Stay tuned 》
Stretch and stretch
《 Stay tuned 》
Service release
《 Stay tuned 》
System observability
Tenant log data collection and analysis
The log data needs to obtain the identity of the tenant
See our tenant routing design , Tenant identification is stored in sfl4j Framework of the MDC in , Just reference it in the log output format
SaaS System operation
SaaS Service billing policy
SaaS The application is generally charged by renting , Instead of a one-time buyout like traditional software . So for SaaS For manufacturers , For different product businesses 、 Customer base 、 Market positioning and business strategy , Developing the most appropriate billing strategy is particularly important .
https://support.developer.huaweicloud.com/doc/zh-cn_topic_0000001321576393-0000001321576393
SaaS Operational data analysis
边栏推荐
- Qt Notes - qmap Custom key
- JSP learning (I) -- overview of JSP
- 东华大学|具有强化知识感知推理的可解释推荐微观行为研究
- 快速掌握 ASP.NET 身份认证框架 Identity - 登录与登出
- SaaS化应用开发指南
- be based on. NETCORE development blog project starblog - (12) razor page dynamic compilation
- WPF effect chapter 190: playing listbox again
- [face recognition] matlab simulation of face recognition based on googlenet deep learning network
- Fluentd is easy to get started. Combined with the rainbow plug-in market, log collection is faster
- 数据库行业分析:从全球IT产业趋势到国产数据库发展之路
猜你喜欢
![[face recognition] matlab simulation of face recognition based on googlenet deep learning network](/img/e8/050ca85542ccbf1402b84c5dbf6f5e.png)
[face recognition] matlab simulation of face recognition based on googlenet deep learning network
![[applet project development -- Jingdong Mall] configuration tabbar & window style for uni app development](/img/cd/bdf26a02a43c63f374861e8431787c.png)
[applet project development -- Jingdong Mall] configuration tabbar & window style for uni app development

Read Apache shardingsphere

JSP learning (I) -- overview of JSP

快速掌握 ASP.NET 身份认证框架 Identity - 登录与登出

STM32 series (HAL Library) - f103c8t6 hardware SPI illuminates OLED screen with word library

DAP事实表加工汇总功能应用说明

来厦门了!线上交流限额免费报名中

Missing value handling

Xftp 7(FTP/SFTP客户端) V7.0.0107 官方中文免费正式版(附文件+安装教程)
随机推荐
网页制作存在的一些难点
Docker之MySQL主从连接提示:Communications link failure
Tried several report tools, and finally found a report based on Net 6
A new mode of enterprise software development: low code
关于#数据库#的问题,如何解决?
华为云“数智”化运维
Stop automatically after MySQL server starts
云端极简部署Svelte3聊天室
来厦门了!线上交流限额免费报名中
. NETCORE enables image scaling and cropping - based on imagesharp
抢先报名丨新一代 HTAP 数据库如何在云上重塑?TiDB V6 线上发布会即将揭晓!
.NET 发布和支持计划介绍
短视频直播源码,EditText输入框的使用
CMB model 23 ukey is not recognized on win7
Quickly master asp Net authentication framework identity - login and logout
Seeing the big from the small: a simple example of domain modeling, understanding "domain driven".
Apache ShardingSphere 一文读懂
【人脸识别】基于GoogleNet深度学习网络的人脸识别matlab仿真
数据库行业分析:从全球IT产业趋势到国产数据库发展之路
170million passwords of Netcom learning link have been leaked! What are the remedies?