当前位置:网站首页>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
边栏推荐
- NTC thermistor application - temperature measurement
- Meizu Bluetooth remote control temperature and humidity access homeassistant
- Cmder of win artifact
- Daily question - input a date and output the day of the year
- Is the security account given by Yixue school safe? Where can I open an account
- MySQL之MHA高可用集群
- 实例001:数字组合 有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少?
- MATLAB skills (28) Fuzzy Comprehensive Evaluation
- Basic information commands and functions of kernel development
- MySQL MHA high availability cluster
猜你喜欢
Briefly talk about the identification protocol of mobile port -bc1.2
Working principle and type selection of common mode inductor
Talk about the function of magnetic beads in circuits
STM32 single chip microcomputer - bit band operation
[noi simulation] juice tree (tree DP)
Tailq of linked list
[nas1] (2021cvpr) attentivenas: improving neural architecture search via attentive sampling (unfinished)
Example 010: time to show
Compilation warning solution sorting in Quartus II
STM32---IIC
随机推荐
Compilation warning solution sorting in Quartus II
Buildroot system for making raspberry pie cm3
实例005:三数排序 输入三个整数x,y,z,请把这三个数由小到大输出。
实例001:数字组合 有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少?
Charge pump boost principle - this article will give you a simple understanding
One question per day - replace spaces
Detailed explanation of SQL server stored procedures
STM32 --- NVIC interrupt
实例003:完全平方数 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?
Example 009: pause output for one second
STM32 --- GPIO configuration & GPIO related library functions
QEMU demo makefile analysis
STM32 summary (HAL Library) - DHT11 temperature sensor (intelligent safety assisted driving system)
Weidongshan Internet of things learning lesson 1
Slist of linked list
go依赖注入--google开源库wire
Summary of SIM card circuit knowledge
Classic application of MOS transistor circuit design (2) - switch circuit design
Simple design description of MIC circuit of ECM mobile phone
Sql Server的存储过程详解