当前位置:网站首页>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
边栏推荐
- Arduino operation stm32
- Sword finger offer 05 Replace spaces
- U8g2 drawing
- Circleq of linked list
- 实例007:copy 将一个列表的数据复制到另一个列表中。
- MySQL之MHA高可用集群
- Anonymous structure in C language
- More than 90% of hardware engineers will encounter problems when MOS tubes are burned out!
- [three tier architecture and JDBC summary]
- Arduino+a4988 control stepper motor
猜你喜欢
Arduino+a4988 control stepper motor
One question per day - replace spaces
Arduino burning program and Arduino burning bootloader
Negative pressure generation of buck-boost circuit
Stablq of linked list
Sword finger offer 05 Replace spaces
Example 002: the bonus paid by the "individual income tax calculation" enterprise is based on the profit commission. When the profit (I) is less than or equal to 100000 yuan, the bonus can be increase
Example 007: copy data from one list to another list.
Explain task scheduling based on Cortex-M3 in detail (Part 1)
Count the number of inputs (C language)
随机推荐
Zero length array in GNU C
[three tier architecture]
实例009:暂停一秒输出
Sizeof (function name) =?
Cinq détails de conception du régulateur de tension linéaire
实例006:斐波那契数列
Compilation warning solution sorting in Quartus II
[trio basic from introduction to mastery tutorial 20] trio calculates the arc center and radius through three points of spatial arc
2020-05-21
每日一题——输入一个日期,输出它是该年的第几天
Array integration initialization (C language)
Explain task scheduling based on Cortex-M3 in detail (Part 2)
STM32 virtualization environment of QEMU
Esphone retrofits old fans
Example 006: Fibonacci series
实例002:“个税计算” 企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可提成7.
Example 003: a complete square is an integer. It is a complete square after adding 100, and it is a complete square after adding 168. What is the number?
[NAS1](2021CVPR)AttentiveNAS: Improving Neural Architecture Search via Attentive Sampling (未完)
Shell script
Design a clock frequency division circuit that can be switched arbitrarily