摘要:
A method, apparatus and program product is provided for accessing data in an abstract data store. In response to receiving a key value, an object is created by converting the key value into a key tuple. A value tuple is requested from the abstract data store corresponding to the key tuple. The key tuple and value tuple are converted to the object by a projector, which then stores the object on an object graph. An object is saved to the abstract data store by persisting the object onto the object graph. The object is detected on the object graph by the projector. In response to detecting the object, the object is converted to a key tuple and a value tuple by the projector. The object graph is then synchronized with the abstract data store by pushing the key and value tuples to the abstract data store.
摘要:
A method, apparatus and program product is provided for querying an object database. In response to performing a first query, a first set of query results is generated from an object database. Metadata associated with and describing the first set of query results is generated. The first query results and the associated metadata are mapped to a results entity. A second set of query results is generated by querying the results entity using query terms from the metadata in response to performing a second query.
摘要:
A method, apparatus and program product is provided for querying an object database. In response to performing a first query, a first set of query results is generated from an object database. Metadata associated with and describing the first set of query results is generated. The first query results and the associated metadata are mapped to a results entity. A second set of query results is generated by querying the results entity using query terms from the metadata in response to performing a second query.
摘要:
A method, apparatus and program product is provided for accessing data in an abstract data store. In response to receiving a key value, an object is created by converting the key value into a key tuple. A value tuple is requested from the abstract data store corresponding to the key tuple. The key tuple and value tuple are converted to the object by a projector, which then stores the object on an object graph. An object is saved to the abstract data store by persisting the object onto the object graph. The object is detected on the object graph by the projector. In response to detecting the object, the object is converted to a key tuple and a value tuple by the projector. The object graph is then synchronized with the abstract data store by pushing the key and value tuples to the abstract data store.
摘要:
A method and apparatus to determine if an object should be instantiated in a nursery space or in a long lived space. Information as to real or estimated longevity of an object instantiated from a class is used to cause instantiation in the long lived space if the object instantiated is likely to be relatively long lived. Otherwise, default instantiation is made to a nursery space in which frequent garbage collection is performed to free up space by eliminating objects that are no longer used.
摘要:
In a method and system for monitoring events occurring at respective servers of a configuration of nodes, a first server located at a first node receives information from a messaging system pertaining to events at servers located at other nodes. The messaging system usefully comprises a highly available (HA) bulletin board or the like. When the first server receives a start event notification pertaining to a second server located at a second node, a direct communication path is established between the first and second servers. The first server identifies events in the second server that affect or are of interest to services of the first server. The first server then registers with the second server, to receive notification through the direct communication path when respective identified events occur.
摘要:
In a method and system for monitoring events occurring at respective servers of a configuration of nodes, a first server located at a first node receives information from a messaging system pertaining to events at servers located at other nodes. The messaging system usefully comprises a highly available (HA) bulletin board or the like. When the first server receives a start event notification pertaining to a second server located at a second node, a direct communication path is established between the first and second servers. The first server identifies events in the second server that affect or are of interest to services of the first server. The first server then registers with the second server, to receive notification through the direct communication path when respective identified events occur.
摘要:
A method and system for processing a transaction request in a distributed data handling architecture. Responsive to receiving a transaction request at a master transaction server, a transaction identifier that identifies a data operation specified by the received transaction request is recorded within a local memory of a replica server. Data operation results are committed master transaction server memory and responsive to committing the data within the master transaction server memory, a post commit signal is sent to the replica server. Data operation results are also committed within local memory of the replica server, and responsive to a failover condition that prevents the master transaction server from sending the post commit signal, the recorded transaction identifier is utilized to synchronize data stored locally within the replica server with data stored within a persistent backend data store shared by the master transaction server and the replica server.
摘要:
In an embodiment, a selection of an original transaction is received. In response to the selection of the original transaction, a call stack of the application that sends the original transaction during a learn mode of the application is saved. A specification of a new transaction and a location of the new transaction with respect to the original transaction in an transaction stream is received. During a production mode of the application, the original transaction is received from the application. A determination is made that the call stack of the application during the production mode matches the saved call stack of the application during the learn mode. In response to the determination, the new transaction is inserted at the location into a transaction stream that is sent to a database.
摘要:
In an embodiment, a request is received that includes data and a specification of a store operation, a key, and a local database. A predicted format for the data is determined based on a type of the requester and whether the local database is a primary database or a replica database. If the predicted format is a relational format, the data is converted to the relational format, if not already in the relational format, and stored into the local database. If a most-frequently predicted historical format is the relational format, the data is converted to the relational format, if not already in the relational format, and stored into the local database. If both the predicted format and the most-frequently predicted historical format are an object format, the data is converted into the object format, if not already in the object format, and stored into the local database.