Comments (3)
AdaptivePort 的逻辑在com.alipay.sofa.rpc.server.ServerFactory#resolveServerConfig , 可以看下这块代码. 和你理解的应该不太一样.
from sofa-rpc.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from sofa-rpc.
@OrezzerO
原图的示例就是com.alipay.sofa.rpc.server.ServerFactory#resolveServerConfig 中调用的 NetUtils获取可用端口的逻辑。测试时发生NetUtils通过ServerSocket.bind验证通过的端口却和实际sofa服务启动时生效的端口不一致,简化情景如原始截图发生的情景
from sofa-rpc.
Related Issues (20)
- 请问有支持java 17的计划么 HOT 2
- sofa升级的一个小问题咨询 HOT 4
- The management of thread pools in sofarpc under high concurrency requests. HOT 5
- Framework Design Optimization Proposal HOT 7
- com.alipay.remoting.DefaultConnectionManager.scan throws NPE HOT 7
- SOFARPC 支持 Stream 流式处理方式 HOT 7
- SOFARPC 支持 Fury 序列化方式 HOT 4
- Provide experimental io_uring support HOT 4
- 什么情况下DefaultConnectionManager.getConnectionPoolAndCreateIfAbsent方法会阻塞? HOT 3
- Support custom exception retry HOT 1
- ExtensionLoader override logic optimization HOT 2
- Tracer Statistics Optimization HOT 5
- Add theadpool extension HOT 3
- 请问为什么 sofaboot-dependencies 的sofa-rpc-all一直固定在 5.8.3 HOT 2
- RPC-020020009问题
- The Rest protocol cannot be used in Jakarta EE 10. HOT 1
- Alipay Cloud Devops Codescan run failed HOT 1
- Nacos+SofaRpc 更新订阅端监听器 并发疑问 HOT 3
- Javassist does not handle interface duplication method correctly HOT 3
- 【Proposal】支持更丰富的压缩算法方便用户在不同的场景选择 HOT 2
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 sofa-rpc.