Browse Prior Art Database

Method and System for Synchronizing an array of Values in Distributed Network in Lock-free manner

IP.com Disclosure Number: IPCOM000246553D
Publication Date: 2016-Jun-16
Document File: 2 page(s) / 28K

Publishing Venue

The IP.com Prior Art Database

Related People

Shu Kit Chan: INVENTOR

Abstract

A method and system is disclosed for synchronizing an array of values in distributed network in a lock-free manner. The method and system synchronizes a list of values (i.e. an array) among number of machines in distributed network by running a script periodically on each machine.

This text was extracted from a Microsoft Word document.
This is the abbreviated version, containing approximately 55% of the total text.

Method and System for Synchronizing an array of Values in Distributed Network in Lock-free manner

Abstract

A method and system is disclosed for synchronizing an array of values in distributed network in a lock-free manner.  The method and system synchronizes a list of values (i.e. an array) among number of machines in distributed network by running a script periodically on each machine.

Description

Disclosed is a method and system for synchronizing an array of values in distributed network in a lock-free manner.  The method and system synchronizes a list of values (i.e. an array) among number of machines in distributed network by running a script periodically on each machine.

In accordance with the method and system, a script runs on each machine in distributed network and retrieves a plain text file from a centralized location, which contains an array of values that need to be synchronized.  Subsequently, a current timestamp is obtained and each of an item in the array is stored into an in-memory key-value store on the machine with the current timestamp as the value.  Further, an item called ‘special key timestamp’ is added with the current timestamp as the value.  For example, an array of items can be foo, bar and zoo and a corresponding current timestamp associated with each of the items in the array can be 1000. The array of items and the corresponding current timestamp value are stored into the in-memory key-value store as shown in the table below.

Name        Value

=====       ====

foo            1000

bar            1000

zoo            1000

timestamp 1000

In a scenario, each machine in distributed s...