OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [no subject]


Rich 



Subbu Allamaraju <subbu@bea.com> 
03/14/05 11:20 AM

To
wsrp@lists.oasis-open.org
cc

Subject
Re: [wsrp] Spec defined events






My point is that the Producer does not always know what "each consumer" 
means.

Subbu

Rich Thompson wrote:
> 
> Interesting questions. Other than the last one, they all seem predicated 

> on an implementation style that tracks changes and does a computation 
> upon interaction to determine whether or not to generate one of these 
> events. Another implementation choice (that happens to avoid the bulk of 

> these issues) is to persistently store the need to provide one of these 
> notifications to each known Consumer and then delete the record saying 
> the need exists when it is delivered. In addition to removing datetime 
> computation while processing a request, this also permits notification 
> by means other than event delivery. An example of this would be to 
> consider a getServiceDescription invocation as removing any 
> Producer/Portlet metadata change notifications as the response will 
> already update the Consumer.
> 
> The other point about these event definitions is that their purpose 
> would not be to require any particular functionality, but rather to 
> provide a standardized means by which a Producer could proactively 
> inform a Consumer about changes. Whether or not a particular Producer or 

> Consumer implementation makes use of this means to reduce polling for 
> metadata would still be entirely implementation dependent.
> 
> On the last question, I do not think it is up to the spec to define what 

> a change is that should trigger any of these notifications. Rather they 
> are defined as a means for carrying a notification that a particular 
> form of metadata has changed. As a result of this, I would resist 
> optimizations such as having the ProducerMetadataChanged event payload 
> carry the new ServiceDescription. Instead, the event is just a 
> notification and it is up to the Consumer to decide when and how to 
> respond to the information.
> 
> Rich
> 
> 
> *Subbu Allamaraju <subbu@bea.com>*
> 
> 03/10/05 10:57 AM
> 
> 
> To
>                wsrp@lists.oasis-open.org
> cc
> 
> Subject
>                Re: [wsrp] Spec defined events
> 
> 
> 
> 
> 
> 
> 
> 
>  > As to other options to carry such notifications by other means, why
>  > would we add such dependencies when we already have a channel that 
could
>  > easily carry the information. I agree that the Consumer is not likely 
to
>  > display the fact that it received such an event to normal end-users, 
but
>  > it certainly would be valuable info to display to system admins (or
>  > queue for display to them).
> 
> Thanks Rich. You make some good arguments. So, let me counter with few
> more questions.
> 
> o Producers don't necessarily know whether the Consumer's version of the
> Producer's metadata is current or not, unless it starts to keep track of
> all metadata requests.
> 
> o The Producer has to keep track of metadata changes persistently and
> make sure to cleanup those changes periodically.
> 
> o The only time a Producer could return events is via handldEvent(s) and
> pbia responses (excluding fault conditions). This may be acceptable.
> 
> o Assuming that the Producer recognized a change, how would it know
> whether a given Consumer should be notified or not? Should it start
> sending notifications to all Consumers (including those that already
> have the current metadata)? Such Consumers will have to do some extra
> processing before ignoring the event.
> 
> o Should the Producer keep sending events for ever or just once? It
> can't be the latter since the Producer does not always know about
> Consumers. So, it does not know which Consumer was already notified.
> 
> I think, a more fundamental question how would the spec define what a
> "change" is.
> 
> Regards,
> 
> Subbu
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wsrp-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: wsrp-help@lists.oasis-open.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: wsrp-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: wsrp-help@lists.oasis-open.org



--=_alternative 005B0F9785256FC4_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">From a protocol point of view, the known
Consumers are those that have registered. Non-registered Consumers are
effectively sharing a guest account and should not expect the Producer
to track them for such notifications. Producers can also have other means
of tracking their Consumers, but an implementation style that simply sends
such events because it is not known if the current Consumer has been informed
should be discouraged.</font>
<br><font size=2 face="sans-serif"><br>
Rich </font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Subbu Allamaraju &lt;subbu@bea.com&gt;</b>
</font>
<p><font size=1 face="sans-serif">03/14/05 11:20 AM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">wsrp@lists.oasis-open.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [wsrp] Spec defined events</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>My point is that the Producer does not always know
what &quot;each consumer&quot; <br>
means.<br>
<br>
Subbu<br>
<br>
Rich Thompson wrote:<br>
&gt; <br>
&gt; Interesting questions. Other than the last one, they all seem predicated
<br>
&gt; on an implementation style that tracks changes and does a computation
<br>
&gt; upon interaction to determine whether or not to generate one of these
<br>
&gt; events. Another implementation choice (that happens to avoid the bulk
of <br>
&gt; these issues) is to persistently store the need to provide one of
these <br>
&gt; notifications to each known Consumer and then delete the record saying
<br>
&gt; the need exists when it is delivered. In addition to removing datetime
<br>
&gt; computation while processing a request, this also permits notification
<br>
&gt; by means other than event delivery. An example of this would be to
<br>
&gt; consider a getServiceDescription invocation as removing any <br>
&gt; Producer/Portlet metadata change notifications as the response will
<br>
&gt; already update the Consumer.<br>
&gt; <br>
&gt; The other point about these event definitions is that their purpose
<br>
&gt; would not be to require any particular functionality, but rather to
<br>
&gt; provide a standardized means by which a Producer could proactively
<br>
&gt; inform a Consumer about changes. Whether or not a particular Producer
or <br>
&gt; Consumer implementation makes use of this means to reduce polling
for <br>
&gt; metadata would still be entirely implementation dependent.<br>
&gt; <br>
&gt; On the last question, I do not think it is up to the spec to define
what <br>
&gt; a change is that should trigger any of these notifications. Rather
they <br>
&gt; are defined as a means for carrying a notification that a particular
<br>
&gt; form of metadata has changed. As a result of this, I would resist
<br>
&gt; optimizations such as having the ProducerMetadataChanged event payload
<br>
&gt; carry the new ServiceDescription. Instead, the event is just a <br>
&gt; notification and it is up to the Consumer to decide when and how to
<br>
&gt; respond to the information.<br>
&gt; <br>
&gt; Rich<br>
&gt; <br>
&gt; <br>
&gt; *Subbu Allamaraju &lt;subbu@bea.com&gt;*<br>
&gt; <br>
&gt; 03/10/05 10:57 AM<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
&gt; To<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;wsrp@lists.oasis-open.org<br>
&gt; cc<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
&gt; Subject<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Re:
[wsrp] Spec defined events<br>
&gt; <br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; &nbsp;&gt; As to other options to carry such notifications by other
means, why<br>
&gt; &nbsp;&gt; would we add such dependencies when we already have a channel
that could<br>
&gt; &nbsp;&gt; easily carry the information. I agree that the Consumer
is not likely to<br>
&gt; &nbsp;&gt; display the fact that it received such an event to normal
end-users, but<br>
&gt; &nbsp;&gt; it certainly would be valuable info to display to system
admins (or<br>
&gt; &nbsp;&gt; queue for display to them).<br>
&gt; <br>
&gt; Thanks Rich. You make some good arguments. So, let me counter with
few<br>
&gt; more questions.<br>
&gt; <br>
&gt; o Producers don't necessarily know whether the Consumer's version
of the<br>
&gt; Producer's metadata is current or not, unless it starts to keep track
of<br>
&gt; all metadata requests.<br>
&gt; <br>
&gt; o The Producer has to keep track of metadata changes persistently
and<br>
&gt; make sure to cleanup those changes periodically.<br>
&gt; <br>
&gt; o The only time a Producer could return events is via handldEvent(s)
and<br>
&gt; pbia responses (excluding fault conditions). This may be acceptable.<br>
&gt; <br>
&gt; o Assuming that the Producer recognized a change, how would it know<br>
&gt; whether a given Consumer should be notified or not? Should it start<br>
&gt; sending notifications to all Consumers (including those that already<br>
&gt; have the current metadata)? Such Consumers will have to do some extra<br>
&gt; processing before ignoring the event.<br>
&gt; <br>
&gt; o Should the Producer keep sending events for ever or just once? It<br>
&gt; can't be the latter since the Producer does not always know about<br>
&gt; Consumers. So, it does not know which Consumer was already notified.<br>
&gt; <br>
&gt; I think, a more fundamental question how would the spec define what
a<br>
&gt; &quot;change&quot; is.<br>
&gt; <br>
&gt; Regards,<br>
&gt; <br>
&gt; Subbu<br>
&gt; <br>
&gt; <br>
&gt; ---------------------------------------------------------------------<br>
&gt; To unsubscribe, e-mail: wsrp-unsubscribe@lists.oasis-open.org<br>
&gt; For additional commands, e-mail: wsrp-help@lists.oasis-open.org<br>
&gt; <br>
&gt; <br>
<br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: wsrp-unsubscribe@lists.oasis-open.org<br>
For additional commands, e-mail: wsrp-help@lists.oasis-open.org<br>
<br>
</tt></font>
<br>
--=_alternative 005B0F9785256FC4_=--


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]