arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.02328astro-ph.IM
收藏

SMA-X:望远镜内部及周围的通用信息共享,乃至更广泛应用

SMA-X: Versatile information sharing in and around telescopes, and beyond

Attila Kovács, Paul K. Grimes, Christopher Moriarty, Robert Wilson

AI总结:

本文提出了 SMA-X,一种基于 Redis 数据库的实时数据共享解决方案,通过服务器端 Lua 脚本实现望远镜各系统间分层结构数据的高效、低延迟、高吞吐量共享,并支持原子检索与状态归档。

摘要:

我们开发了 SMA eXchange (SMA-X) 作为一种实时数据共享解决方案,它建立在中央 Redis 数据库之上。SMA-X 是一种存储约定,由一组服务器端 Lua 脚本(或 Redis 函数)提供支持,这些脚本能够在望远镜的各个系统和子系统之间高效地实现低延迟和高吞吐量的分层结构数据实时共享。它支持对特定叶元素、分支和子树进行快速、原子检索,包括相关的元数据(类型、维度、时间戳、来源等)。在亚毫米波阵列(SMA)中,我们自 2021 年起便依赖它在 100 多台计算机之间共享包括数组在内的约 10,000 个实时变量,在某些情况下信息每 10 毫秒发布一次。SMA-X 是开源的,任何人都可以通过一组公开的 GitHub 存储库免费获取,其中包括 C/C++ 和 Python3 库,以便与天文台应用程序集成。一组命令行工具提供了从 POSIX shell 和/或任何脚本语言访问数据库的途径,我们还提供了一个可配置的系统守护进程,用于定期将天文台状态归档到时间序列结构化查询语言(SQL)数据库中,以创建详细的历史记录。

英文摘要:

We developed the SMA eXchange (SMA-X) as a real-time data sharing solution, built atop a central Redis database. SMA-X is a storage convention, facilitated by a set of server-side Lua scripts (or Redis functions) which enable efficient low-latency and high-throughput real-time sharing of hierarchically structured data among the various systems and subsystems of the telescope. It enables fast, atomic retrievals of specific leaf elements, branches, and sub-trees, including associated metadata (types, dimensions, timestamps, and origins, and more). At the Submillimer Array (SMA) we rely on it since 2021 to share a diverse set of ~10,000 real-time variables, including arrays, across more than 100 computers, with information being published every 10 ms in some cases. SMA-X is open-source, and is freely available to everyone through a set of public GitHub repositories, including C/C++ and Python3 libraries to allow integration with observatory applications. A set of command-line tools provide access to the database from the POSIX shell and/or from any scripting language, and we also provide a configurable system daemon for archiving the observatory state at regular intervals into a time-series Structured Query Language (SQL) database to create a detailed historical record.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑