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  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Philosophy regarding use of open source libraries for EPICS
From: "Konrad, Martin" <[email protected]>
To: Rod Nussbaumer <[email protected]>, epics Techtalk <[email protected]>
Date: Wed, 16 Nov 2016 16:46:19 +0000
Hi Rod,
That's a tough one. There are at least two competing approaches:

A) Link everything statically or in it's more modern form use containers
(Docker or similar). This gives the application developer full control
over the versions of all his libraries.

B) Use shared libraries, often paired with packaging (e.g. Debian/RPM
packages) to simplify deployment and to handle dependencies.

Both approaches have their advantages: (A) gives the application
developer maximum control. (B) on the other hand makes it easier to fix
a bug in a library that is used by many applications. Consider applying
a fix to EPICS Base. You might need to rebuild hundreds of
IOCs/applications/containers if you go for (A). In case you go for (B)
you just need to rebuild Base, deploy the new package and restart the
applications which might save you a lot of time. Note that even though
packages might be upgraded on your Linux machines on a daily basis that
usually doesn't break functionality. Distributions generally only allow
bug fixes for their "stable" edition.

All large-scale Linux distributions are using (B) but more and more
software projects choose to provide containers. This is great since it
provides users with the latest code. On the other hand it can easily
introduces issues (e.g. security issues) due to out-of-date libraries
that might be shipped as part of these containers.

At FRIB we decided to go with approach (B), the same is true for
NSLS-II. AFAIK ESS' IOC Factory is going for something more along (A).

Regards,

Martin

-- 
Martin Konrad
Control System Engineer
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: [email protected]


Navigate by Date:
Prev: RE: Modbus Device Support for Advantech ADAM6017, 6018 Mazanec Tomáš
Next: Re: Philosophy regarding use of open source libraries for EPICS J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Philosophy regarding use of open source libraries for EPICS Shen, Guobao
Next: unsubscribe BOGARD Daniel
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Nov 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·