# The Zwicky Transient Facility Alert Distribution System

**Authors:** Maria T. Patterson, Eric C. Bellm, Ben Rusholme, Frank J. Masci, Mario, Juric, K. Simon Krughoff, V. Zach Golkhou, Matthew J. Graham, Shrinivas R., Kulkarni, George Helou

arXiv: 1902.02227 · 2019-02-07

## TL;DR

The paper describes the design, implementation, and performance of the Zwicky Transient Facility alert distribution system, which efficiently streams and processes millions of astronomical alerts in real-time using industry-standard open-source technologies.

## Contribution

It introduces a modular, scalable alert distribution system leveraging Kafka and Avro, optimized for high-volume astronomical data streams, suitable for future large-scale surveys.

## Key findings

- Supports up to 1.2 million alerts per night
- Processes alerts within about 10 seconds of production
- Achieves data transfer rates of approximately 80,000 alerts per minute

## Abstract

The Zwicky Transient Facility (ZTF) survey generates real-time alerts for optical transients, variables, and moving objects discovered in its wide-field survey. We describe the ZTF alert stream distribution and processing (filtering) system. The system uses existing open-source technologies developed in industry: Kafka, a real-time streaming platform, and Avro, a binary serialization format. The technologies used in this system provide a number of advantages for the ZTF use case, including (1) built-in replication, scalability, and stream rewind for the distribution mechanism; (2) structured messages with strictly enforced schemas and dynamic typing for fast parsing; and (3) a Python-based stream processing interface that is similar to batch for a familiar and user-friendly plug-in filter system, all in a modular, primarily containerized system. The production deployment has successfully supported streaming up to 1.2 million alerts or roughly 70 GB of data per night, with each alert available to a consumer within about 10 s of alert candidate production. Data transfer rates of about 80,000 alerts/minute have been observed. In this paper, we discuss this alert distribution and processing system, the design motivations for the technology choices for the framework, performance in production, and how this system may be generally suitable for other alert stream use cases, including the upcoming Large Synoptic Survey Telescope.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1902.02227/full.md

## Figures

4 figures with captions in the complete paper: https://tomesphere.com/paper/1902.02227/full.md

## References

16 references — full list in the complete paper: https://tomesphere.com/paper/1902.02227/full.md

---
Source: https://tomesphere.com/paper/1902.02227