How sdabis/mls_experimental_analysis works
This is an MLS protocol emulation testbed. Its main workflow configures autonomous clients, which perform MLS group operations and exchange messages through either MQTT or GossipSub delivery services; a rendezvous server supports the documented GossipSub setup. OpenMLS supplies the protocol implementation, with provider traits and storage beneath it. The README documents these capabilities, but many runtime modules were not sampled, so uncertain implementation links are omitted. The analysis scripts are supporting tools rather than part of the client runtime.
Main entry points: user.rs MLS user · application.rs MLS groups · storage.rs Provider traits · orchestrated.rs Client behavior
Components 22
Emulated clients
- Client settings
emulated_client/emulated_client/src/config/user_parameters.rs - Client behavior
emulated_client/emulated_client/src/client_agent/orchestrated.rs - Commit coordination
emulated_client/emulated_client/src/orchestrator.rs - MLS user
emulated_client/emulated_client/src/user.rs
Delivery services
- MQTT delivery
emulated_client/emulated_client/src/pubsub/mqtt_broker.rs - GossipSub delivery
emulated_client/emulated_client/src/pubsub/gossipsub_broker.rs - Delivery service
emulated_client/delivery-service/ds/src/main.rs - Delivery service library
emulated_client/delivery-service/ds-lib/src/lib.rs - Rendezvous server
environment/client/rendezvous/main.rs
MLS protocol
- Key packages
emulated_client/openmls/src/key_packages/mod.rs - MLS groups
emulated_client/openmls/src/group/mls_group/application.rs - Message framing
emulated_client/openmls/src/framing/mls_auth_content.rs - Key schedule
emulated_client/openmls/src/schedule/mod.rs - Tree synchronization
emulated_client/openmls/src/treesync/mod.rs
Crypto and storage
- Provider traits
emulated_client/traits/src/storage.rs - MLS storage API
emulated_client/openmls/src/storage.rs - Memory storage
emulated_client/memory_storage/src/lib.rs - Rust crypto provider
emulated_client/openmls_rust_crypto/src/provider.rs - Libcrux crypto
emulated_client/libcrux_crypto/src/crypto.rs
Experiment analysis
- Log parser
environment/log_scripts/log_parser.py - Analysis plots
environment/log_scripts/latency_plot.py
Other components
- Simulation operator
Connections 20
- Simulation operator → Client settings: configures
- Client settings → Client behavior: sets behavior
emulated_client/emulated_client/src/client_agent/orchestrated.rs - Client behavior → MLS user: drives
emulated_client/emulated_client/src/client_agent/orchestrated.rs - Client behavior → Commit coordination: coordinates commits
emulated_client/emulated_client/src/orchestrator.rs - MLS user → MQTT delivery: sends messages
emulated_client/emulated_client/src/user.rs - MLS user → GossipSub delivery: sends messages
emulated_client/emulated_client/src/user.rs - Simulation operator → Delivery service: deploys service
- Simulation operator → Rendezvous server: enables optionally
- MQTT delivery → Delivery service: uses delivery service
- GossipSub delivery → Rendezvous server: discovers peers
- MLS user → MLS groups: performs MLS operations
- MLS groups → Key packages: uses packages
- MLS groups → Message framing: creates messages
emulated_client/openmls/src/group/mls_group/application.rs - MLS groups → MLS storage API: persists state
emulated_client/openmls/src/group/mls_group/application.rs - MLS storage API → Provider traits: specializes
emulated_client/openmls/src/storage.rs - Memory storage → Provider traits: implements
- Rust crypto provider → Provider traits: provides crypto
- Libcrux crypto → Provider traits: provides crypto
- Simulation operator → Log parser: analyzes logs
- Log parser → Analysis plots: produces data for