Lessons learned refactoring the EuXFEL’s central data acquisition system

WECG003
24 Sept 2025, 14:45
15m
Grand Ballroom (Palmer House Hilton Chicago)

Grand Ballroom

Palmer House Hilton Chicago

17 East Monroe Street Chicago, IL 60603, United States of America
Contributed Oral Presentation MC12: Software Development and Management Tools WECG MC12 Software Development and Management Tools

Speaker

Steffen Hauf (European X-Ray Free-Electron Laser)

Description

The European XFEL, a world-leading X-ray light source, boasts high brilliance and fast burst repetition rates supported by bespoke MHz-imaging detectors, resulting in data rates close to 20 GB/s. Correlating auxiliary data from various sources with these images requires a centralized Data Acquisition (DAQ) system that ingests data from Karabo, and outputs aggregated data into a common HDF5 format. Facility-side calibration and processing rely on the stability of this data format.
We discuss refactoring this major, mission-critical software to scale for future data reduction needs. The system transitioned from a blackboard to a pipelined design modeling unidirectional dataflows. Refactoring was prepared with extensive tests for verification. Unit tests, often following test-driven development, accompanied refactoring and new features. A high continuous integration coverage is enhanced by system-level tests.
The refactored system was introduced incrementally over 3 months, following a „test early, fail early“ philosophy. The new system successfully implements critical petabyte-scale data reduction, and enhanced status monitoring capabilities.

Author

Steffen Hauf (European X-Ray Free-Electron Laser)

Co-authors

Alessandro Silenzi (European X-Ray Free-Electron Laser) Anna Klimovskaia (European X-Ray Free-Electron Laser) Dennis Goeries (European X-Ray Free-Electron Laser) Dr Djelloul Boukhelef (European X-Ray Free-Electron Laser) Gero Flucke (European X-Ray Free-Electron Laser) Jose Luis Vazquez-Garcia (European X-Ray Free-Electron Laser) Dr Krzysztof Wrona (European X-Ray Free-Electron Laser) Mr Nasser Al-Qudami (European X-Ray Free-Electron Laser) Dr Philipp Schmidt (European X-Ray Free-Electron Laser) Sergey Esenov (European X-Ray Free-Electron Laser)

Presentation materials

There are no materials yet.