Metadata-private Messaging without Coordination

Peipei Jiang, Yihao Wu, Lei Xu, Wentao Dong, Peiyuan Chen, Yulong Ming, Cong Wang, Xiaohua Jia, Qian WangarXiv 2025 · DOI

Abstract

Metadata-private messaging systems often rely on rigid, synchronous "dial-before-converse" frameworks that hinder usability and limit users to single concurrent conversations. PingPong addresses these limitations by introducing a decoupled "notify-before-retrieval" workflow. By combining secure hardware enclaves (Intel SGX) with tailored oblivious algorithms, PingPong enables seamless, asynchronous messaging while maintaining strict traffic uniformity. Evaluation on real-world datasets shows that PingPong reduces message latency from hundreds of seconds to just a few seconds compared to traditional coordination-based systems.

The Challenge of Metadata Privacy

Standard end-to-end encrypted applications like Signal protect message content but leave metadata—who is talking to whom, when, and how often—exposed to service providers. While the Tor network offers some protection, it remains vulnerable to global traffic analysis. To achieve true metadata privacy, researchers have developed systems that enforce traffic uniformity: every user sends and receives the same amount of data at fixed intervals, hiding actual communication within a constant stream of cover traffic.

However, maintaining this uniformity usually requires a "dial-before-converse" approach. Users must coordinate a specific time slot to exchange messages, effectively locking them into a single one-to-one conversation. This synchronization creates significant latency and prevents the fluid, multi-conversation experience typical of modern messaging apps.

From Coordination to Asynchrony

PingPong breaks this paradigm by introducing the notify-before-retrieval framework. Instead of requiring senders and receivers to be online and coordinated simultaneously, PingPong decouples the notification of a new message from the retrieval of its content.

Comparison of messaging frameworks: non-private, dial-before-converse, brute-force, and PingPong's notify-before-retrieval.

As shown in the comparison above, traditional "dial-before-converse" systems require synchronous rounds where users must "dial" each other before they can "converse." Brute-force approaches attempt to solve this by having users send traffic to all contacts constantly, but this does not scale. PingPong's asynchronous round structure allows users to be notified of pending messages and retrieve them independently, supporting multiple concurrent conversations without the overhead of constant all-to-all communication.

System Architecture: PING and PONG

PingPong is divided into two specialized subsystems designed for horizontal scalability and metadata privacy:

  1. PING (Metadata-Private Notification): Senders leave an encrypted "ping" for the recipient. PING uses compact bit-vectors to represent notifications. To prevent the server from learning the mapping between senders and receivers, PingPong utilizes Intel SGX enclaves to obliviously aggregate these notifications. Every user receives exactly one "carrier message" per round, which contains their aggregated notifications, ensuring traffic uniformity.
  2. PONG (Metadata-Private Message Store): Once a user is notified, they fetch the message from PONG, an oblivious storage system. Unlike generic Oblivious RAM (ORAM), PONG uses customized Oblivious Hash Tables (OHTs). It appends messages to bins and merges them in the background, allowing for efficient retrieval via linear scans that hide which specific message is being accessed.
The PingPong architecture, showing the flow from notification generation to oblivious fetching in PONG servers.

To protect against side-channel attacks on hardware enclaves, both subsystems employ oblivious algorithms. These ensure that memory access patterns remain identical regardless of the underlying data, preventing the server from inferring communication patterns through physical memory observation.

Evaluation and Results

The authors evaluated PingPong using the CollegeMsg dataset from Stanford SNAP, which captures real-world temporal chat patterns. This simulation highlighted the usability gap: in a traditional "dialing" system, users faced an average wait time of 347 seconds per message because they were often "busy" in other coordinated sessions. PingPong reduced this latency to just 3.26 seconds.

Performance benchmarks demonstrate high scalability:

  • PING: Handles 50,000 concurrent clients with sub-second (0.934s) 99th-percentile latency.
  • PONG: Supports 20,000 fetches per second across a database of $2^{29}$ messages.
  • End-to-End: PingPong completed a full messaging cycle 3x faster than optimized baselines while supporting 10x larger friend lists.

Conclusion and Future Work

PingPong demonstrates that metadata privacy does not have to come at the cost of modern messaging features. By replacing synchronous coordination with an oblivious notification and retrieval system, it achieves both high performance and a seamless user experience. While the system currently relies on trusted hardware and requires an initial out-of-band secret exchange between friends, it represents a significant step toward practical, large-scale metadata-private communication.

Summary updated

BibTeX
@misc{jiang2025metadata,
  author = {Peipei Jiang and Yihao Wu and Lei Xu and Wentao Dong and Peiyuan Chen and Yulong Ming and Cong Wang and Xiaohua Jia and Qian Wang},
  title = {{Metadata-private Messaging without Coordination}},
  year = {2025},
  eprint = {2504.19566},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.19566},
}
Figure