← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 2275.as.6.f.3.c.9.d.1.b

应用与数据库均可产事件

理解等级:中级

应用代码或前端可表达业务事件,但需要与语言和中间件适配。数据库变更可通过轮询、触发器或日志CDC捕获;它较少依赖应用修改,却往往只暴露物理行变化,还需转换为业务可理解的事件。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Event and Notification Management · 查看原书依据

      Generating events by reading changes made to the application database is an alternative to using APIs or services.5 Reading changes can be done via polling, triggers, or change data capture (CDC). This model of distributing events, as you can imagine, has a stronger relationship with event-carried state transfer. Just like in the scenario in which applications generate events, more components and further work may be

    参考来源

    - 位置:《Data Management at Scale》第06章《Event and Notification Management》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch06.html) - 结论依据:原文对polling, triggers, or change data capture的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。 - 原始内容:Generating events by reading changes made to the application database is an alternative to using APIs or services.5 Reading changes can be done via polling, triggers, or change data capture (CDC). This model of distributing events, as you can imagine, has a stronger relationship with event-carried state transfer. Just like in the scenario in which applications generate events, more components and further work may be