摘要:
A system and method for automated recovery of processing of a unit of work during an error in a batch processing system is disclosed. Generally, at least a portion of a unit of work and instructions of operations to perform to process the portion of the unit of work is sent to a worker data structure. A periodic heartbeat is received from the worker data structure indicating the worker data structure is processing the at least a portion of the unit of work. If an unexpected termination of the worker data structure is detected, a signal is sent to a crash handler data structure instructing the crash handler data structure to detect and store a current input location of the at a portion of the unit of work. The records from the current location at the crash are skipped during reprocessing of the unit of work to increase the chances of success during reprocessing.
摘要:
Systems and methods for acquiring, releasing, and reclaiming a lock of a data structure in a network file system (“NFS”) are discussed. Generally, a text file is created in a management library of the data structure. The name of the text file includes an identifier of the lock, an identifier of a process attempting to acquire the lock, and an identifier of a machine on which the process attempting to acquire the lock is running. The identifier of the process attempting to acquire the lock and the identifier of the machine on which the process attempting to acquire the lock is running are is saved in the contents of the text file and a hard line is created pointing to the text file. Finally, a lock of the data structure is granted based on a number of links pointing to the text file.
摘要:
A system and method for providing transaction support across a plurality of data structures is disclosed. Generally, a transaction status directory indicating a transaction is in a prepare state is created. It is determined whether a first data structure is able to perform a first set of operations to complete the transaction. The first data structure is locked in response to determining the first data structure is able to perform the first set of instructions and instructions are sent to the first data structure to perform the set of operations. The first data structure is modified and a log of each modification of the first data structure is kept in case modification needs to be undone. It is then determined if a second data structure is able to perform a second set of operations to complete the transaction. In one embodiment, the second data structure is locked and instructions are sent to the second data structure to perform the set of operations. The second data structure is modified and a log of each modification of the second data structure is kept in case modification needs to be undone. The transaction status directory is then modified to indicate the transaction is in a commit phase, the log of modifications to the first and second data structures are deleted, and the locks of the first and second data structures are released.
摘要:
A system and method for acquiring, releasing, and reclaiming a lock of a data structure in a network file system (“NFS”) is disclosed. Generally, a text file is created in a management library of the data structure. The name of the text file comprises an identifier of the lock, an identifier of a process attempting to acquire the lock, and an identifier of a machine on which the process attempting to acquire the lock is running. The identifier of the process attempting to acquire the lock and the identifier of the machine on which the process attempting to acquire the lock is running is saved in the contents of the text file and a hard line is created pointing to the text file. Finally, a number of links pointing to the text file is determined and a lock of the data structure is granted based on the number of links pointing to the text file.
摘要:
A system and method for automatic recovery of a unit of work in a batch processing system is disclosed. Generally, a unit of work is placed in a todo queue to store the unit of work for processing. Access to the unit of work is provided to a data structure for processing and the unit of work is moved from the todo queue to an in-progress queue. An error is detected in the processing of the unit of work and a retry count of the unit of work is compared to a maximum retry count of the unit of work. Finally, the unit of work is moved to the todo queue for re-processing or to a failed queue for further analysis based on the comparison of the retry count to the maximum retry count.
摘要:
A system and method for automated recovery of processing of a unit of work during an error in a batch processing system is disclosed. Generally, at least a portion of a unit of work and instructions of operations to perform to process the portion of the unit of work is sent to a worker data structure. A periodic heartbeat is received from the worker data structure indicating the worker data structure is processing the at least a portion of the unit of work. If an unexpected termination of the worker data structure is detected, a signal is sent to a crash handler data structure instructing the crash handler data structure to detect and store a current input location of the at a portion of the unit of work. The records from the current location at the crash are skipped during reprocessing of the unit of work to increase the chances of success during reprocessing.
摘要:
A method and system for generating digital advertisements is provided. A method employed by the system may include receiving template information that that defines dynamic elements of the advertisement, receiving data associated with the dynamic elements, generating browser code based on the template information and the data, and communicating the browser code to a browser. The method may also include receiving a second template that includes a creative applet reference and combining the template information with the browser code. The second template may also include a reference to an alternate image that is rendered when an image defined by the creative applet cannot be rendered.
摘要:
A method for calculating brand index (BI) for interactive rich media advertising produces a brand effectiveness model, and includes categorizing advertising exposure of a rich media ad into a type of bucket, and for each type of bucket: assigning a weight (Wj) to each of a plurality of data types collected in the bucket; assigning a score (Dj) to each of the data types collected in the bucket; tracking a frequency (Nj) of occurrence of each data type; and calculating a bucket brand index (BBIi)=ΣWj*Nj*Dj. A non-linear approach to calculating BBI may also be used. A bucket weight (Wi) is assigned to each type of bucket; the BI is calculated as a weighted sum of the plurality of bucket brand indexes (BBI)=ΣWi*BBIi, and the BI is communicated to an advertiser or publisher for an ad campaign that includes the BBIi to indicate monetization value of the rich media ad.
摘要:
A method for campaign optimization of interactive rich media advertising includes providing a plurality of creatives; assigning a weight to each creative; tracking user interaction with at least some of the plurality of creatives; continuously computing a brand index (BI) for each creative based on the tracked user interaction and the weight of each tracked creative; updating an optimization engine with a latest BI for each creative, wherein the optimization engine dynamically adjusts the weight of each creative based on the latest BI for each creative; and serving over a communication network the creatives based on the weight associated with each, such that the creatives with higher weight are served more frequently than the creatives with lower weight as an optimized ad campaign of the plurality of creatives.
摘要:
A system and method are disclosed for rotating an advertisement on a single page or screen. The advertisement may be rotated when the user is active on the page or screen. In addition, the advertisement that replaces the original ad may be based on the user's activity, or may be based on the content displayed in the page or screen. This system and method may increase advertising inventory that is displayed on a page or screen by displaying advertisements for a set time interval, which results in increased flexibility for sellers and buyers of online advertising.