当前位置:网站首页>Several problems to be considered and solved in the design of multi tenant architecture
Several problems to be considered and solved in the design of multi tenant architecture
2022-07-05 08:30:00 【Learn open source together】
Thinking about distributed multi tenant architecture
Now we are developing software in the market SAAS Standardization is already standard , Combine current or distributed microservices with SAAS The actual situation and needs of multi tenant structure , As a technical architecture, how can we consider designing a flexible architecture scheme for multi tenant dynamic data source switching under distributed microservices , It is an important thing at present . The following analysis is made for multi tenant dynamic data sources .
Scene analysis
Scene one :
The front end directly initiates a request to the back-end service through the gateway , If there is only one service , The data source needed to handle the current execution of the accessed service should be the data source of the tenant of the current login user
The sequence diagram is as follows :
Scene two :
Multiple services cooperate to complete a business , Directly above
Scene three :
Multiple services cooperate to complete a business , And some business functions are processed asynchronously , Pictured
Scene 4
The processing scenario of distributed scheduled tasks in the multi tenant scenario
Refer to the post
Put your web Turn the application into a multi tenant SaaS Solution
https://www.ibm.com/developerworks/cn/cloud/library/cl-multitenantsaas/
be based on spring Realize multi tenant applications through multiple data sources
https://www.jianshu.com/p/54f35fa2f374
be based on Hibernate Dynamic data source switching :https://blog.csdn.net/sysushui/article/details/90319375
example :https://blog.csdn.net/lulitianyu/article/details/79566775
边栏推荐
- Explication de la procédure stockée pour SQL Server
- 2022.7.4-----leetcode.1200
- Stm32--- systick timer
- STM32---IIC
- 關於線性穩壓器的五個設計細節
- [tutorial 19 of trio basic from introduction to proficiency] detailed introduction of trio as a slave station connecting to the third-party bus (anybus PROFIBUS DP...)
- go依赖注入--google开源库wire
- 剑指 Offer 09. 用两个栈实现队列
- STM32 outputs 1PPS with adjustable phase
- Stm32--- systick timer
猜你喜欢

leetcode - 445. Add two numbers II

Keil use details -- magic wand

Classic application of MOS transistor circuit design (1) -iic bidirectional level shift

Explain task scheduling based on Cortex-M3 in detail (Part 2)

Various types of questions judged by prime numbers within 100 (C language)

Arduino operation stm32

STM32 --- serial port communication

实例009:暂停一秒输出

UE像素流,来颗“减肥药”吧!

Old Wang's esp8266 and old Wu's ws2818 light strip
随机推荐
Naming rules for FreeRTOS
Lori remote control commissioning record
Cmder of win artifact
实例001:数字组合 有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少?
Take you to understand the working principle of lithium battery protection board
每日一题——输入一个日期,输出它是该年的第几天
Charge pump boost principle - this article will give you a simple understanding
QEMU demo makefile analysis
My-basic application 2: my-basic installation and operation
Arrangement of some library files
实例008:九九乘法表
Hardware and software solution of FPGA key chattering elimination
STM32 --- NVIC interrupt
Ble encryption details
Esp8266 interrupt configuration
Example 005: three numbers sorting input three integers x, y, Z, please output these three numbers from small to large.
List of linked lists
【云原生 | 从零开始学Kubernetes】三、Kubernetes集群管理工具kubectl
More than 90% of hardware engineers will encounter problems when MOS tubes are burned out!
实例009:暂停一秒输出