知识卡片

普通读书笔记卡 · 2313.e.5.m.3

异步确认只改善响应感受

理解等级:中级

原书评论提交例中,同步路径约3100毫秒后确认“已发布”;异步路径约25毫秒确认“已接收”,后台仍需约3000毫秒处理。后者改善响应性,即用户多久得到答复,却未提高端到端处理性能,也不保证最终发布。若内容校验失败,系统还需另设通知或查询结果的方式;数字仅属于原书示例。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Fundamentals of Software Architecture》原书第15章《Event-Driven Architecture Style》(阅读计划第18项;源文件:`OEBPS/ch15.html`) - 结论依据:单元07:评论提交的同步/异步时间计算。 - 原始内容:This example illustrates the difference between responsiveness (the time it takes to get information back to the user) and performance (the time it takes to insert the comment into the database).