当前位置:网站首页>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
边栏推荐
- 【三层架构】
- Take you to understand the working principle of lithium battery protection board
- Keil use details -- magic wand
- Esp8266 interrupt configuration
- [trio basic from introduction to mastery tutorial 20] trio calculates the arc center and radius through three points of spatial arc
- 【云原生 | 从零开始学Kubernetes】三、Kubernetes集群管理工具kubectl
- Let's briefly talk about the chips commonly used in mobile phones - OVP chips
- Soem EtherCAT source code analysis I (data type definition)
- Buildroot system for making raspberry pie cm3
- QEMU STM32 vscode debugging environment configuration
猜你喜欢

Arduino burning program and Arduino burning bootloader

Sword finger offer 09 Implementing queues with two stacks

Management and use of DokuWiki

QEMU STM32 vscode debugging environment configuration

Talk about the circuit use of TVs tube

UE像素流,来颗“减肥药”吧!

STM32 single chip microcomputer - external interrupt

leetcode - 445. 两数相加 II

Bluebridge cup internet of things basic graphic tutorial - GPIO output control LD5 on and off

MHA High available Cluster for MySQL
随机推荐
实例004:这天第几天 输入某年某月某日,判断这一天是这一年的第几天?
Imx6ull bare metal development learning 2- use C language to light LED indicator
Circleq of linked list
Soem EtherCAT source code analysis II (list of known configuration information)
L298N module use
动力电池UL2580测试项目包括哪些
【三层架构及JDBC总结】
U8g2 drawing
Basic information commands and functions of kernel development
Arduino operation stm32
Some pitfalls of win10 network sharing
Array integration initialization (C language)
How to copy formatted notepad++ text?
亿学学堂给的证券账户安不安全?哪里可以开户
Zero length array in GNU C
Bluebridge cup internet of things basic graphic tutorial - GPIO input key control LD5 on and off
leetcode - 445. Add two numbers II
实例003:完全平方数 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?
UE pixel stream, come to a "diet pill"!
Bluebridge cup internet of things competition basic graphic tutorial - clock selection