当前位置:网站首页>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
边栏推荐
- STM32 single chip microcomputer -- debug in keil5 cannot enter the main function
- 实例002:“个税计算” 企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可提成7.
- QEMU demo makefile analysis
- Chapter 18 using work queue manager (1)
- 【三层架构】
- STM32---ADC
- 实例004:这天第几天 输入某年某月某日,判断这一天是这一年的第几天?
- Soem EtherCAT source code analysis I (data type definition)
- 關於線性穩壓器的五個設計細節
- Let's briefly talk about the chips commonly used in mobile phones - OVP chips
猜你喜欢

每日一题——替换空格

Management and use of DokuWiki (supplementary)
![[trio basic tutorial 17 from getting started to mastering] set up and connect the trio motion controller and input the activation code](/img/58/576b6b77509ed7a9bef138f3899e37.jpg)
[trio basic tutorial 17 from getting started to mastering] set up and connect the trio motion controller and input the activation code

Detailed summary of FIO test hard disk performance parameters and examples (with source code)

Keil use details -- magic wand

Talk about the circuit use of TVs tube

实例003:完全平方数 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?

Example 010: time to show

DokuWiki deployment notes

Design a clock frequency division circuit that can be switched arbitrarily
随机推荐
Count the number of inputs (C language)
Detailed summary of FIO test hard disk performance parameters and examples (with source code)
關於線性穩壓器的五個設計細節
Classic application of MOS transistor circuit design (2) - switch circuit design
Let's briefly talk about the chips commonly used in mobile phones - OVP chips
Classic application of MOS transistor circuit design (1) -iic bidirectional level shift
Anonymous structure in C language
Infected Tree(树形dp)
【三层架构及JDBC总结】
Several implementation schemes of anti reverse connection protection of positive and negative poles of power supply!
实例009:暂停一秒输出
Esphone Feixun DC1 soft change access homeassstant
Arduino burning program and Arduino burning bootloader
My-basic application 2: my-basic installation and operation
Summary of SIM card circuit knowledge
Example 009: pause output for one second
DokuWiki deployment notes
How to copy formatted notepad++ text?
实例003:完全平方数 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?
第十八章 使用工作队列管理器(一)