Skip to content

Vector Clock/Version Clock | 分布式 | event sourcing | Edison Xu's Blog #111

@EdisonXu

Description

@EdisonXu

http://edisonxu.com/2018/11/02/clocks.html

研究Akka过程中,发现Akka的node间是Peer-to-Peer的,就意味着任何一个节点都能处理来自外部请求,那就存在一个一致性的问题,即如果集群中两个节点间的通讯断了,但是又都能对外提供服务,这时各自在接受请求造成的状态变化应该如何解决?Akka采用的是Vector Clocks来解决一致性的。这个算法常见于分布式存储上,对于EBA也很常见,所以如果要搞EventSourcing,这个知

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions