EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Detecting data lost from a subscriber
From: "Dalesio, Leo" <[email protected]>
To: "Bruno Coudoin" <[email protected]>, "Andrew Johnson" <[email protected]>
Cc: [email protected]
Date: Wed, 8 Jul 2009 13:13:39 -0400
What do you do if the client is not consuming - but the server continues to create arrays?


-----Original Message-----
From: Bruno Coudoin [mailto:[email protected]]
Sent: Wed 7/8/2009 12:06 PM
To: Andrew Johnson
Cc: [email protected]; Dalesio, Leo; Ralph Lange
Subject: Re: Detecting data lost from a subscriber
 

Le mercredi 08 juillet 2009 à 10:07 -0500, Andrew Johnson a écrit :
> On Wednesday 08 July 2009 09:29:33 Dalesio, Leo wrote:
> >
> I noticed that Bruno's original question mentioned CAS rather than the IOC, 
> and I'm not sure whether he realizes that there is still a major distinction.  
> Both Bob's and Ralph's answers were discussing the IOC server, although I 
> think the same principle applies to the CAS in that the CA protocol itself 
> provides no means for a client to know whether data has been discarded.  It 
> should still be possible to include a count in the data array to detect this 
> at the application level though if desired.

I understand my confusion now. Yes I use the CAS. Also in my
implementation I allocate a new buffer at each update of my array. So
when I postEvent to the CAS it has a gdd pointing  to an array that will
never be overwritten. Thus there is no behavior difference between an
array and a scalar value.

Of course the drawback of my implementation is that I do allocate more
memory. On way I though to improve it was to avoid the allocation in
case there is no subscriber.

Bruno.




Replies:
RE: Detecting data lost from a subscriber Bruno Coudoin
References:
Detecting data lost from a subscriber Bruno Coudoin
Re: Detecting data lost from a subscriber Ralph Lange
RE: Detecting data lost from a subscriber Dalesio, Leo
Re: Detecting data lost from a subscriber Andrew Johnson
Re: Detecting data lost from a subscriber Bruno Coudoin

Navigate by Date:
Prev: Re: Detecting data lost from a subscriber Bruno Coudoin
Next: RE: Detecting data lost from a subscriber Bruno Coudoin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Detecting data lost from a subscriber Bruno Coudoin
Next: RE: Detecting data lost from a subscriber Bruno Coudoin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·