Daphne

Daphne is a Rust implementation of the Distributed Aggregation Protocol (DAP) standard. DAP is under active development in the PPM working group of the IETF.

Daphne currently implements draft-ietf-ppm-dap-02.

This software is intended to support experimental DAP deployments and is not yet suitable for use in production. Daphne will evolve along with the DAP draft: Backwards compatibility with previous drafts won't be guaranteed until the draft itself begins to stabilize. API-breaking changes between releases should also be expected.

The repository contains three crates:

Testing

The daphne crate relies on unit tests. The daphne_worker crate relies mostly on integration tests implemented in daphne_worker_test. See the README in that directory for instructions on running Daphne-Worker locally.

Integration tests can be run via docker-compose.

docker-compose up --build --abort-on-container-exit --exit-code-from test

Acknowledgements

Thanks to Yoshimichi Nakatsuka who contributed significantly to Daphne during his internship at Cloudflare Research. Thanks to Brandon Pitman and David Cook for testing, reporting bugs, and sending patches.

The name "Daphne" is credited to Cloudflare Research interns Tim Alberdingk Thijm and James Larisch, who came up with the name independently.