JACoW logo

Journals of Accelerator Conferences Website (JACoW)

'Journal of Accelerator Conferences Website' (JACoW) is a publisher in Geneva, Switzerland that publishes the proceedings of accelerator conferences held around the world by an international collaboration of editors.


https://doi.org/10.18429/JACoW-ICALEPCS2023-MO4BCO02
Title Lessons from Using Python GraphQL Libraries to Develop an EPICS PV Server for Web UIs
Authors
  • R.J. Auger-Williams
    OSL, St Ives, Cambridgeshire, United Kingdom
  • A.L. Alexander, T.M. Cobb, M.J. Gaughran, A.J. Rose, A.W.R. Wells, A.A. Wilson
    DLS, Oxfordshire, United Kingdom
Abstract Diamond Light Source is currently developing a web-based EPICS control system User Interface (UI). This will replace the use of EDM and the Eclipse-based CS-Studio at Diamond, and it will integrate with future Acquisition and Analysis software. For interoperability, it will use the Phoebus BOB file format. The architecture consists of a back-end application using EPICS Python libraries to obtain PV data and the query language GraphQL to serve these data to a React-based front end. A prototype was made in 2021, and we are now doing further development from the prototype to meet the first use cases. Our current work focuses on the back-end application, Coniql, and for the query interface we have selected the Strawberry GraphQL implementation from the many GraphQL libraries available. We discuss the reasons for this decision, highlight the issues that arose with GraphQL, and outline our solutions. We also demonstrate how well these libraries perform within the context of the EPICS web UI requirements using a set of performance metrics. Finally, we provide a summary of our development plans.
Paper download MO4BCO02.PDF [0.221 MB / 5 pages]
Slides download MO4BCO02_TALK.PDF [4.239 MB]
Cite download ※ BibTeX LaTeXText/WordRISEndNote
Conference ICALEPCS2023
Series International Conference on Accelerator and Large Experimental Physics Control Systems (19th)
Location Cape Town, South Africa
Date 09-13 October 2023
Publisher JACoW Publishing, Geneva, Switzerland
Editorial Board Volker RW Schaa (GSI, Darmstadt, Germany); Andy Götz (ESRF, Grenoble, France); Johan Venter (SARAO, Cape Town, South Africa); Karen White (SNS, Oak Ridge, TN, USA); Marie Robichon (ESRF, Grenoble, France); Vivienne Rowland (SARAO, Cape Town, South Africa)
Online ISBN 978-3-95450-238-7
Online ISSN 2226-0358
Received 29 September 2023
Accepted 13 October 2023
Issued/td> 20 October 2023
DOI doi:10.18429/JACoW-ICALEPCS2023-MO4BCO02
Pages 191-195
Copyright
Creative Commons CC logoPublished by JACoW Publishing under the terms of the Creative Commons Attribution 4.0 International license. Any further distribution of this work must maintain attribution to the author(s), the published article's title, publisher, and DOI.