Retry logic could also be implemented by this architecture to avoid aborting a batch job in case of a lock situation .
还应该在架构中实现重试逻辑,避免万一在锁定状态下,取消批量作业。
This is especially useful for distributed web applications , where multiple users may be accessing or manipulating the same data object at the same time . The datastore will retry a transaction multiple times if multiple users are making changes .