我经历了各种传奇图案 (Orchestration,Choreography),建议在分布式事务期间维护微服务中的数据库一致性。
但我无法将字面意思联系起来 佐贺在上下文中。
为什么它被命名为佐贺 ?
最佳答案
Saga 不是缩写。 “传奇”一词最早是在 1987 年 publication 中定义的。 .它还提到它是由布鲁斯·林赛 (Bruce Lindsay) 提出的。
在它们的原始版本中,术语 saga 指的是长生命周期交易 (LLT)。
A LLT is a saga if it can be written as a sequence of transactions that can be interleaved with other transactions.
选择这个词本身的原因没有透露。
也许 saga 一词的文学含义之一是:
a long, detailed story of connected events
关于java - 为什么将微服务分布式事务模式命名为 SAGA?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63319018/