以地之名对《Designing Data-Intensive Applications》的笔记(3)

Designing Data-Intensive Applications
  • 书名: Designing Data-Intensive Applications
  • 作者: Martin Kleppmann
  • 副标题: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems
  • 页数: 614
  • 出版社: O'Reilly Media
  • 出版年: 2017-4-2
  • Reliable, scalable, and maintainable applications

    “Many critical bugs are actually due to poor error handling; by deliberately inducing faults, you ensure that the fault-tolerance machinery is continually exercised and tested, which can increase your confidence that faults will be handled correctly when they occur naturally.”

    至理名言,bug来自懒惰的错误处理。

    2019-07-17 14:10:55 回应
  • Converging toward a consistent state
    Amazon is a frequently cited example of surprising effects due to a conflict resolution handler: for some time, the conflict resolution logic on the shopping cart would preserve items added to the cart, but not items removed from the cart. Thus, customers would sometimes see items reappearing in their carts even though they had previously been removed.
    引自 Converging toward a consistent state

    虽然以前听说过但还是要mark一下,真是数据库也要为business logic服务😂

    2019-07-25 14:41:01 回应
  • Atomic Commit and Two-Phase Commit
    This process is somewhat like the traditional marriage ceremony in Western cultures: the minister asks the bride and groom individually whether each wants to marry the other, and typically receives the answer “I do” from both. After receiving both acknowledgments, the minister pronounces the couple husband and wife: the transaction is committed, and the happy fact is broadcast to all attendees. If either bride or groom does not say “yes,” the ceremony is aborted.
    引自 Atomic Commit and Two-Phase Commit

    用婚礼来解释transaction真是太好玩了……

    2019-07-25 14:46:15 回应

以地之名的其他笔记  · · · · · ·  ( 全部172条 )

文明的冲突与世界秩序的重建
2
既见君子
1
房思琪的初恋乐园
4
Principles of Economics, 5th edition
1
Effective Java
6
Dostoevsky
12
尼采
6
Quantum Computing since Democritus
2
The Waste Land and Other Poems
2
The Mythical Man Month and Other Essays on Software Engineering
3
凯恩斯大战哈耶克
2
繁花
2
中国特色的译文读者
1
台北人
2
Neural Networks and Deep Learning
1
童年 少年 青年
1
福楼拜的鹦鹉
2
通往奴役之路
3
献给爱米丽的一朵玫瑰花
1
白鲸
2
心是孤独的猎手
1
悲伤与理智
1
The Essential Hayek
1
伤心咖啡馆之歌
1
康德
2
斯通纳
3
曼德施塔姆夫人回忆录
4
阳光猛烈,万物显形
1
妻妾成群
1
小于一
4
陀思妥耶夫斯基(第1卷)
1
北回归线
2
睡觉大师
2
碎片
1
奇石
1
托尔斯泰或陀思妥耶夫斯基
2
维特根斯坦传
3
爱你就像爱生命
1
情感教育
3
我紛紛的情欲
1
忧郁的热带
5
实践理性批判
2
尼各马可伦理学
2
文明的解析
1
安娜·陀思妥耶夫斯卡娅回忆录
4
群魔(上下)
1
伊凡·杰尼索维奇的一天
1
包法利夫人
4
Philosophy of Religion
3
变形记
4
会饮篇
1
QED
1
城堡
1
一个女人一生中的二十四小时
1
2001太空漫游
1
吉姆老爷
2
窄门
1
忧郁的热带
3
文学回忆录(全2册)
4
柏拉图
1
如何阅读一本书
1
理想国
1
地粮
5
儿子与情人
2
The Waste Land and Other Poems
2
罗生门
1
蒲宁文集(全五册)
1
纳尔齐斯与歌尔德蒙
1
边境 近境
2
卡拉马佐夫兄弟
2
悲剧的诞生
1
喧哗与骚动
1
我是猫
1
素履之往
2
The Bell Jar
1
哥伦比亚的倒影
3
战争与和平(上下卷)
1
温莎墓园日记
1
罪与罚
1
公正
2
白痴
1
论自由
1