10.2 · OperatingSpecialist
Mediation in production: capacity, retention, herd privacy
A mediator holds messages for recipients who are offline, so its storage grows with how long they stay away. Running one well means setting how long it keeps an uncollected message, deleting each message once its receipt is confirmed, and serving enough recipients at one endpoint that each is hidden among the others.
Capacity. Messages wait until collected; a recipient that never returns leaves its messages behind. Set a maximum hold time, and say what happens at the end of it.
Retention. Delete a message as soon as the recipient confirms it DIDCOMM-ORG-MESSAGEPICKUP-3.0 §7.5. While a recipient is connected, live mode delivers at once and nothing waits DIDCOMM-ORG-MESSAGEPICKUP-3.0 §7.6.
Herd privacy. Many recipients at one endpoint hide each recipient’s traffic among the others ARIES-RFC-0046 §3.2.2. A mediator for one person reveals that person’s pattern of use.
Security. The pickup protocol expects messages to be encrypted in transit and repudiable DIDCOMM-ORG-MESSAGEPICKUP-3.0 §6; the mediator never needs to read them.
Each step cites its source above; 8.5 What a mediator can see sets out what a mediator can see.
- The mediator sees addressees, arrival and collection times, and sizes; its operator decides how long it keeps that record.
- This page does not set a hold time: that is a policy choice to publish to the recipients.
- ARIES-RFC-0046 Aries RFC 0046: Mediators and Relays
- DIDCOMM-ORG-MESSAGEPICKUP-3.0 didcomm.org protocol: Message Pickup 3.0