当前位置:网站首页>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
边栏推荐
- [tutorial 15 of trio basic from introduction to proficiency] trio free serial communication
- How to copy formatted notepad++ text?
- STM32---IIC
- Bluebridge cup internet of things basic graphic tutorial - GPIO output control LD5 on and off
- 99 multiplication table (C language)
- Use indent to format code
- Some pitfalls of win10 network sharing
- 剑指 Offer 09. 用两个栈实现队列
- Brief discussion on Buck buck circuit
- [noi simulation] juice tree (tree DP)
猜你喜欢
[trio basic tutorial 17 from getting started to mastering] set up and connect the trio motion controller and input the activation code
Talk about the circuit use of TVs tube
Example 006: Fibonacci series
Bluebridge cup internet of things basic graphic tutorial - GPIO input key control LD5 on and off
[three tier architecture]
[trio basic from introduction to mastery tutorial 20] trio calculates the arc center and radius through three points of spatial arc
[paper reading] the latest transfer ability in deep learning: a survey in 2022
FIO测试硬盘性能参数和实例详细总结(附源码)
MATLAB小技巧(28)模糊综合评价
Classic application of MOS transistor circuit design (1) -iic bidirectional level shift
随机推荐
Go dependency injection -- Google open source library wire
实例009:暂停一秒输出
实例006:斐波那契数列
实例004:这天第几天 输入某年某月某日,判断这一天是这一年的第几天?
[nas1] (2021cvpr) attentivenas: improving neural architecture search via attentive sampling (unfinished)
OC and OD gate circuit
NTC thermistor application - temperature measurement
STM32 --- serial port communication
C language data type replacement
Example 010: time to show
Infected Tree(树形dp)
Problem solving: interpreter error: no file or directory
STM32 single chip microcomputer -- debug in keil5 cannot enter the main function
[cloud native | learn kubernetes from scratch] III. kubernetes cluster management tool kubectl
STM32 --- NVIC interrupt
实例003:完全平方数 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?
Arduino+a4988 control stepper motor
2022.7.4-----leetcode. one thousand and two hundred
Imx6ull bare metal development learning 1-assembly lit LED
Imx6ull bare metal development learning 2- use C language to light LED indicator