Comments (5)
#419
ServiceB 能调用 ServiceA吗?
from surging.
from surging.
您说的没大理解 ,我拉的最新代码,ServiceB 以 T GetService() 调用 ServiceA出现上述情况,ServiceB在整个业务中主要充当聚合的作用,ApiGeteWay -> ServiceB ->ServiceA这样的用法有问题?
from surging.
我这边项目中未碰上此类问题,可以用性能探查器或者利用WinDbg分析一下那里的问题吗?
建议询问:
1.ApiGeteWay 是引用stage 组件生成的网关吗?ServiceB是不是架设引用在网关的聚合服务
2.如果业务耗时较长,可以改成以下方式,但是这会消耗过多线程切换,这个不适用流媒体处理,更适合业务操作
}
var workerGroup1 = new MultithreadEventLoopGroup();
.ChildHandler(new ActionChannelInitializer(channel =>
{
pipeline.AddLast(new LengthFieldBasedFrameDecoder(int.MaxValue, 0, 4, 0, 4));
pipeline.AddLast(workerGroup1, "HandlerAdapter", new
from surging.
ApiGeteWay 不是引用stage 组件生成的网关,ServiceB也不是架构引用在网关的聚合服务。ServiceB是为了处理复杂的跨服务业务的建立的服务模块,所以我的理解ServiceB从调用过程中是即是客户端又是服务端。非常感谢您的耐心指点,我下来用WinDbg分析下问题。
from surging.
Related Issues (20)
- 两个不同的Modules项目中如何相互调用 HOT 1
- hh
- 单服务热加载问题 HOT 3
- 用jmeter对sayhello做压力测试时,返回结果不一致,entity为1 HOT 1
- k8s
- k8s中单服务重发之后 提示如下 HOT 3
- The community version is the last version. HOT 3
- new feature Protokollwandler component will be updated in SurgingVista version
- 统计一下有多少人使用社区版 HOT 1
- Hot deployment modules and components
- 请问Surging 中使用的 WebSocketCore 的源码是这个地址吗 HOT 1
- server进程占用的内存一直增长,直到进程崩溃,是什么原因? HOT 11
- NLog HOT 6
- surgingSettings.json配置中的Consul 连接ConnectionString配置 HOT 1
- Surging.Core.KestrelHttpServer HOT 1
- 请求参数
- 开源**NCC介绍 HOT 4
- 使用serviceProxyProvider.Invoke调用接口内存持续增长 HOT 4
- TCP network components that support configuring properties
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 surging.