当前位置:网站首页>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
边栏推荐
- Example 010: time to show
- MATLAB小技巧(28)模糊綜合評價
- One question per day - replace spaces
- Synchronization of QT multithreading
- Cmder of win artifact
- Arduino burning program and Arduino burning bootloader
- MATLAB小技巧(28)模糊综合评价
- Array integration initialization (C language)
- Several important parameters of LDO circuit design and type selection
- Example 001: the number combination has four numbers: 1, 2, 3, 4. How many three digits can be formed that are different from each other and have no duplicate numbers? How many are each?
猜你喜欢
[nas1] (2021cvpr) attentivenas: improving neural architecture search via attentive sampling (unfinished)
Soem EtherCAT source code analysis attachment 1 (establishment of communication operation environment)
STM32 single chip microcomputer - external interrupt
STM32---ADC
实例005:三数排序 输入三个整数x,y,z,请把这三个数由小到大输出。
实例010:给人看的时间
Several important parameters of LDO circuit design and type selection
[tutorial 15 of trio basic from introduction to proficiency] trio free serial communication
Semiconductor devices (I) PN junction
STM32 single chip microcomputer -- debug in keil5 cannot enter the main function
随机推荐
Cinq détails de conception du régulateur de tension linéaire
Detailed explanation of SQL server stored procedures
Classic application of MOS transistor circuit design (1) -iic bidirectional level shift
Example 001: the number combination has four numbers: 1, 2, 3, 4. How many three digits can be formed that are different from each other and have no duplicate numbers? How many are each?
Talk about the circuit use of TVs tube
Sql Server的存储过程详解
Count the number of inputs (C language)
实例003:完全平方数 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?
STM32 virtualization environment of QEMU
实例001:数字组合 有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少?
Hardware and software solution of FPGA key chattering elimination
QEMU STM32 vscode debugging environment configuration
实例004:这天第几天 输入某年某月某日,判断这一天是这一年的第几天?
OC and OD gate circuit
Explain task scheduling based on Cortex-M3 in detail (Part 1)
QEMU demo makefile analysis
MySQL之MHA高可用集群
More than 90% of hardware engineers will encounter problems when MOS tubes are burned out!
Stm32--- systick timer
2020-05-21