-
公开(公告)号:US09348672B1
公开(公告)日:2016-05-24
申请号:US14961584
申请日:2015-12-07
Applicant: Amazon Technologies, Inc.
Inventor: Brian James Schuster
CPC classification number: G06F9/52
Abstract: Techniques for singleton coordination in an actor-based system are described herein. In some examples, one or more actors within an actor based system may be designated as singleton actors. Each singleton actor is permitted to have only a single associated instance in the actor-based system. In some cases, when multiple executing instances (i.e., duplicates) of a singleton actor are detected, the duplicates may be resolved, for example, such that no more than a single instance of the singleton actor is retained. In some examples, one or more singleton coordinators may be responsible for selecting one or more hubs on which to generate new or re-generated singletons, monitoring existing singletons to ensure that they continue to execute, and re-generating existing singletons after termination.
Abstract translation: 本文描述了基于actor的系统中单例协调的技术。 在一些示例中,基于演员的系统中的一个或多个演员可以被指定为单身演员。 每个单身演员被允许在基于actor的系统中只有一个关联的实例。 在某些情况下,当检测到单人演员的多个执行实例(即,重复)时,可以解决重复的情况,例如使得不再保留单人演员的单个实例。 在一些示例中,一个或多个单身协调员可负责选择一个或多个中心,在其上生成新的或重新生成的单身人士,监视现有的单身人士,以确保他们继续执行,并在终止后重新生成现有的单身人士。