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

Subject: Fwd: MongoDB Implementation using EPICS 7
From: Pete Jemian via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Thu, 23 Mar 2023 08:02:40 -0500
original reply did not reach tech-talk, here it is:


-------- Forwarded Message --------
Subject: Re: MongoDB Implementation using EPICS 7
Date: Thu, 23 Mar 2023 07:58:27 -0500
From: Pete Jemian <jemian at anl.gov>
Organization: Advanced Photon Source, Argonne National Laboratory
To: Patel, Anjali Himanshukumar <patel44 at llnl.gov>

Since there are no further replies, the short answer to your question is no.

Allow me to describe some of the challenges you may face (I use MongoDB but am not an expert):

EPICS 7 (or any version) has no specific programming language so implementation of MongoDB is not clear.  Many of the most common server (IOC) components are written in C or C++.

You could develop a MongoDB interface in the IOC that would provide r/w access to the PVs (both Channel Access and PV Access).  It is not clear what advantages this work would produce, other than a client could use use mongo client tools instead of the existing CA and PVA client tools.

You would need to consider how to represent in MongoDB the various types of information provided in the PV structures.  MongoDB stores information in JSON documents (either text or blobs) organized into collections.  Mapping the EPICS PV structures into the JSON documents used by MongoDB seems (to me) to be awkward at best.  The EPICS PVs provide fixed addresses for live data.  MongoDB is designed with a very different objective, to archive data.  One could think of using MongoDB as a backend for an EPICS archiver (which records time series of the configured PVs) but there are better backends to choose for such time-series data.

I believe the answer is "no" because no one in the EPICS community saw an advantage to use MongoDB in this way.  So far.

Regards,
    Pete


On 3/21/2023 2:06 PM, Patel, Anjali Himanshukumar wrote:
Just as we can implement mongodb in other programming languages I want to be able to implement using EPICS 7 in order to retrieve data and send data as well.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* Jemian, Pete R. <jemian at anl.gov>
*Sent:* Tuesday, March 21, 2023 12:04:34 PM
*To:* Patel, Anjali Himanshukumar <patel44 at llnl.gov>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
*Subject:* Re: MongoDB Implementation using EPICS 7
What do you expect of this implementation?
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Patel, Anjali Himanshukumar via Tech-talk <tech-talk at aps.anl.gov>
*Sent:* Tuesday, March 21, 2023 12:30:40 PM
*To:* tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
*Subject:* MongoDB Implementation using EPICS 7

Has anyone been able to implement MongoDB using EPICS 7? If yes, please guide further.


--
----------------------------------------------------------
Pete R. Jemian, Ph.D.                 <jemian at anl.gov>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source,    Argonne National Laboratory
Argonne, IL  60439                    630 - 252 - 3189
-----------------------------------------------------------
       Education is the one thing for which people
          are willing to pay yet not receive.
-----------------------------------------------------------

Replies:
Re: [EXTERNAL] Fwd: MongoDB Implementation using EPICS 7 Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Other approaches to disabling a record from processing if there is no connection? Wang, Andrew via Tech-talk
Next: Re: Differences between using disconnectOnReadTime in asynSetOption and asyn record Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: MongoDB Implementation using EPICS 7 Jemian, Pete R. via Tech-talk
Next: Re: [EXTERNAL] Fwd: MongoDB Implementation using EPICS 7 Kasemir, Kay via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 23 Mar 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·