知识卡片
远程超时的执行歧义
共享数据库把状态放在同一处,但访问它仍经过网络。请求迟迟不返回,可能是请求未到、服务过慢或响应丢失。因此调用者只能根据时间假设设置超时和重试,真正的执行结果还要依赖协议证据。添加备用数据库能缓解单点故障,也带来副本同步问题。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 8. Introduction and Overview Shared State in a Distributed System · 查看原书依据
We do not know whether the database hasn’t responded because it’s overloaded, unavailable, or slow, or because of some problems with the network on the way to it. This describes a nature of a crash: processes may crash by
参考来源
- 位置:《Database Internals》Chapter 8. Introduction and Overview(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch08.html#idm46104531189240,段 22)
- 结论依据:原文枚举未响应的多种原因,并将故障模型与冗余后的副本同步区分开。
- 原始内容:We do not know whether the database hasn’t responded because it’s overloaded, unavailable, or slow, or because of some problems with the network on the way to it. This describes a nature of a crash: processes may crash by