Comments (6)
- sofa registry作为注册中心,目前是提供的最终一致性,也就是说并非按全局时钟的顺序 保证获取数据的线性一致性;
- 具体到上面的case来说,pub register注册完成后,实际在registry中是一个异步的动作;sub发起时有可能pub的数据还没有真正保存到data上,所以这个时候会有一个推送空的动作;但是最后客户端收到的数据是准确的。
from sofa-registry.
- sofa registry作为注册中心,目前是提供的最终一致性,也就是说并非按全局时钟的顺序 保证获取数据的线性一致性;
- 具体到上面的case来说,pub register注册完成后,实际在registry中是一个异步的动作;sub发起时有可能pub的数据还没有真正保存到data上,所以这个时候会有一个推送空的动作;但是最后客户端收到的数据是准确的。
最终一致性没有问题,但是不应该推送一个空的数据过来吧,最终是会有问题的,因为会出现推空的数据出现
![Screenshot 2023-05-31 at 15 58 11](https://private-user-images.githubusercontent.com/23445172/242201547-f0f87141-fd5b-4b81-bb24-1ca62f1afd59.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDYyMTYzODgsIm5iZiI6MTcwNjIxNjA4OCwicGF0aCI6Ii8yMzQ0NTE3Mi8yNDIyMDE1NDctZjBmODcxNDEtZmQ1Yi00YjgxLWJiMjQtMWNhNjJmMWFmZDU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAxMjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMTI1VDIwNTQ0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIzNjQ3ZjZhZTQwY2FhYWU0MTBkZWEwNjY1MTE3ZTFmNWVmNTZkNTZjN2Y5YmRhNzZhNjE4ZTc2ZDFiZWRhMGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.OhpDz4Ait0_uaNoqMYOSjsFqrBNjko-7BaK_6xxMvR4)
from sofa-registry.
可以提供一下完整的 config.client.log 或者 registry.log的client日志看看
from sofa-registry.
我貌似没太找到这个文件,我在 {user.home} 下没有找到 sofa-client 相关的日志
from sofa-registry.
client的日志在 {user.home} /logs/registry/registry-client.log,没有复现出来你说的现象。
from sofa-registry.
我貌似没太找到这个文件,我在 {user.home} 下没有找到 sofa-client 相关的日志
IDE的话,应该是有一个类似于{user.home}的路径在你的项目文件下面
from sofa-registry.
Related Issues (20)
- Pushing too frequently challenges session memory, optimization consider ZGC HOT 1
- Pushing too frequently challenges session memory, optimization consider off-heap memory
- 为了CacheCountTask周期性的输出存储的Publisher的统计信息(Count一下),需要申请size等于data节点存储的publisher总数的map,内存使用上是不合理的 HOT 2
- registry-parent中是不是忘了加nexus-staging-maven-plugin , HOT 5
- SOFARegistry的分片策略可以优化一下 HOT 2
- 有没有和openfeign整合使用的示例 HOT 3
- Session Push Client Add Circuit Breaker Strategy
- Ask Questions HOT 4
- SOFA-Registry should be tolerant of clock adjustments HOT 7
- registry-test is not uploaded to maven central repository since 6.0.0 HOT 1
- remove redundant volatile
- security: com.alipay.sofa:hessian version is too low HOT 1
- 注册失败 HOT 1
- session probabilistic slow startup.
- app revision not exist
- 是不是缺少一个管理端页面 HOT 1
- Admin API Support Basic Auth
- Issue of high CPU usage by the meta leader HOT 4
- The usage of Log4j2 Strings Util class in the code makes users force dependency on log4j2. HOT 4
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-registry.