Browse Prior Art Database

Thread Management in the Event Service

IP.com Disclosure Number: IPCOM000119169D
Original Publication Date: 1997-Dec-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 2 page(s) / 52K

Publishing Venue

IBM

Related People

Chang, D: AUTHOR [+2]

Abstract

Disclosed is a program that achieves the best event communication performance with minimum thread resource.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 54% of the total text.

Thread Management in the Event Service

      Disclosed is a program that achieves the best event
communication performance with minimum thread resource.

      The Event Channel Service provides both the Push Model and Pull
Model.  A Push Model is defined as the event supplier pushes events
on the consumer through the Event Channel.  A Pull Model is defined
as the  event consumer pulls from the supplier through the Event
Channel.

      In the Push Model, when the Event Channel pushes events to a
Event Consumer, if the Event Consumer slowly processes this event,
the other Event Consumer will not get the process events until the
Event Consumer completes its event processing.  This could be a
performance problem to the Event Channel with the Push Model.

      The solution to this problem is to have a separate thread to
push events to the Event Consumer whenever there are events to be
pushed to the Event Consumer.

      In the Pull Model, the Event Consumer should be able to receive
an event from the event Channel, if any Event Supplier of the Event
Channel is able to provide an event to the Event Channel.  However,
the Event Channel has no knowledge of the status of each Event
Supplier in  the Event Channel.  If the Event Channel pulls events
from the Event Suppliers sequentially, the Event Channel might be
blocked by one Event  Supplier that is not able to return an event to
the Event Channel while  the other Event Suppliers are able to return
...