-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一些问题咨询 #11
Comments
您能否把您的业务场景,更具体的描述出来?例如你的db上的分布式是指什么? |
如涉及到数据量比较大的时候,db需要 分库,分表时,事务这时dtm怎么实现业务上的分布式。 |
您好,按照微服务的设计原则,大多数情况下一个微服务通常访问一个数据库,一个微服务有一个本地事务。dtm会将多个微服务的本地事务组合成一个分布式事务,保证正确性 对于分库的情况,您只要保证了上述原则,那么就可以采用dtm 如果您的分库是在db proxy层实现,那么需要相关的db proxy对您微服务上的本地事务有支持。 |
了解,感谢解答。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
具体业务开发要在dtm框架里面实现?
dtm 里 orm 相关代码可能无法做到db上的分布式,db层分布式怎么实现?上 db proxy 实现?
The text was updated successfully, but these errors were encountered: