Patent ID: 8104046
Filing Date: 2012-01-24
Classification: G06F

Abstract:
1. A method for improving event delivery efficiency in a polling adapter, the method comprising: polling, by use of a processor, an enterprise information system (EIS) event table to obtain a list of events occurring in the EIS, each event being associated with an object key; entering each event into a hash table with each event keyed by the event's object key, wherein events sharing a first object key are organized in a first event list within the hash table; creating an array of delivery lists equal to a number of connections with the EIS if a number of hash table entries is not less than the number of connections else creating a delivery list for each entry in the hash table; allocating the events from the hash table to the array of delivery lists, wherein the events of the first event list are allocated to a first delivery list and ordered in a designated order; placing remaining entries and lists of the hash table in the first delivery list if the new first delivery list size is less than a mean size of all the delivery lists and if the number of hash table entries is not less than the number of connections; generating a plurality of delivery threads, each delivery thread being associated with a delivery list, each delivery thread retrieve, from the EIS, events listed in the delivery list and delivering the events to a client over a separate connection; deleting a second event in a delivery thread in response to a delete of the second event in the event table; and executing each delivery thread concurrently.