Synchronic Web Analysis
This project provides analysis tools and simulation components for the Synchronic Web, a distributed ledger system. It includes FIREWHEEL model components for network simulation and Locust-based load testing.
- general-journal: Creates journal nodes that maintain distributed ledger state with configurable periodicity and secrets
- network-monitor: Provides monitoring and observability using Prometheus and Grafana for real-time network metrics and visualization
- social-agent: Simulates social agents that interact with the ledger system, with configurable connectivity, size, and activity parameters
- locust: HTTP load testing using Locust to simulate concurrent users interacting with the ledger system
- compose/social-agent-network: local Docker Compose harness generator for multi-node social-agent networks based on the
sync-servicesgeneral stack
- docker/social-agent: canonical social-agent container runtime shared by FIREWHEEL publishing and local compose generation
The FIREWHEEL components can be used to create network topologies with journal nodes and social agents for testing distributed ledger behavior at scale. The compose harness under compose/social-agent-network/ provides a local Docker-only alternative that reuses the sync-services general stack with one full service cluster and one social agent per node. The Locust tests provide performance analysis of the system under load.
Use compose/social-agent-network/generate.py to derive a local multi-node stack from sync-services/compose/general/docker-compose.yml.
Required input:
SYNC_SERVICES_GENERAL_COMPOSE
Defaulted inputs:
NODE_COUNT=4SECRET=passCONNECTIVITY=2PERIOD=2WINDOW=1024SIZE=32ACTIVITY=0WORDS=8
Basic flow:
cd /code/sync-analysis/compose/social-agent-network
SYNC_SERVICES_GENERAL_COMPOSE=/code/sync-services/compose/general/docker-compose.yml \
python3 generate.py
docker compose upGenerated outputs include:
docker-compose.ymlpeers.jsonmetrics/social-agent-*/host directories for social-agent Prometheus textfile outputresults/social-agent-*/benchmark.jsonhost files for simple per-agent throughput snapshotsresults/network-benchmark.jsonwhencompose/social-agent-network/aggregate_results.pyis running
- FIREWHEEL simulation framework
- Docker (for containerized components)
- Python 3.x with Locust for load testing