Comments (5)
生产环境是否可以使用了?
from tx-lcn.
可以使用的,但是建议多了解一下原理,在环境下遇到问题时也可以及时我们沟通。
from tx-lcn.
ok,谢谢!
from tx-lcn.
本次是在没有做性能优化之前的测试报告
本次测试是基于最新的master源码打包的测试
我现在是用的springcloud-lcn-demo下的mybatis demo测试的。
环境介绍:
电脑硬件:
4核I7处理器
16G内存
256固态
mysql:
5.6
redis:
4.0.2
目前所有的软件服务都是在本机上的。
注意:我发现在开启断路器下明显下降,因此先关闭了断路器功能。
#feign.hystrix.enabled=true
## 关于springcloud-hystrix机制 http://www.jianshu.com/p/b8d21248c9b1
#hystrix.command.default.execution.isolation.strategy= SEMAPHORE
#hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=5000
数据是正常的。
下面是关闭LCN以后的测试结果:
关于如何关闭的LCN:
@Around("execution(* com.example.demo.service.impl.*Impl.*(..))")
public Object around(ProceedingJoinPoint point)throws Throwable{
return point.proceed();//txManagerInterceptor.around(point);
}
只是关闭了切面拦截。
数据少了些:(不过也属于正常)
测试代码:
https://github.com/codingapi/springcloud-lcn-demo/tree/test_01
from tx-lcn.
我在本地启动tx-manager、springcloud-mybatis-demo1、springcloud-mybatis-demo2后,访问http://localhost:8081/demo/save后,页面返回下面这个错误:请问有谁遇到过或怎么解决。
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Mon Sep 03 18:06:42 CST 2018
There was an unexpected error (type=Internal Server Error, status=500).
status 500 reading Demo2Client#save(); content: {"timestamp":1535969201947,"status":500,"error":"Internal Server Error","exception":"java.lang.reflect.UndeclaredThrowableException","message":"No message available","path":"/demo/save"}
from tx-lcn.
Related Issues (20)
- io.netty.handler.codec.DecoderException: com.codingapi.txlcn.common.exception.SerializerException: java.lang.ClassNotFoundException: org.springframework.orm.jpa.JpaSystemException HOT 1
- tx-manager多节点部署 HOT 1
- tx-lcn.primary-key-package HOT 2
- tm服务重启后,client端不能自动重连 HOT 2
- 5.0.2 A->B->C,如果B应用执行时间超过1秒,就直接异常了。如何修改这个最大等待时间? HOT 1
- TX-LCN是否支持mysql多数据源(mysql一主一从)
- openfeign调用,事务不能传递? HOT 5
- [5.0.2] LCN TM 通知 TC 失败导致数据不一致 HOT 17
- [5.0.2] LCN TM 通知 TC 失败导致数据不一致
- 当下游服务出现异常,下游服务catch了异常那上游服务的事务基于LCN会回滚吗
- 在跨服务调用的时候,经常会偶发性报这个错。 HOT 1
- SpringCloud 集群(tx-lcn.springcloud.loadbalance.enabled=true)
- 请问作者这个支持达梦数据库?
- TXC模式,flowable工作流的TaskService.complete(),解析的逆向sql执行失败
- TM启动正常,但日志总redis命令执行错误! HOT 2
- Redis在Lcn中的使用如何保证跟数据库中事务组数据的一致性,如果redis节点宕机,怎么保证事务组的事务提交和回滚正常?
- tx-Icn现在不维护了吗 HOT 1
- 集成Caused by: java.sql.SQLFeatureNotSupportedException: getCatalog HOT 1
- 监听事务提交后执行 HOT 1
- JDK 需要升级到17 以上
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tx-lcn.