Configuration Description

Server Configuration (config.py)

class ServerConfig:
    # Network Settings
    BIND_ADDRESS = "*"          # Bind to all network interfaces
    TIMEOUT = 1000              # Socket timeout (milliseconds)
    HWM = 1000                 # High Water Mark

    # Router Port Allocation
    ROUTER_PORTS = {
        QuantumSystemType.SUPERCONDUCTING: 7000,
        QuantumSystemType.ION_TRAP: 7001,
        QuantumSystemType.NEUTRAL_ATOM: 7002,
        QuantumSystemType.PHOTONIC: 7003
    }

    # Publish Port Allocation
    PUB_PORTS = { %
        QuantumSystemType.SUPERCONDUCTING: 8000,
        QuantumSystemType.ION_TRAP: 8001,
        QuantumSystemType.NEUTRAL_ATOM: 8002,
        QuantumSystemType.PHOTONIC: 8003
    }

    # Performance Settings
    THREAD_POOL_SIZE = 10       # Number of concurrent task worker threads
    MAX_QUEUE_SIZE = 200        # Maximum number of pending tasks

    # Simulation Times (milliseconds)
    COMPILE_TIME = 100          # Simulated compilation time
    RUN_TIME = 2000             # Simulated runtime
    POST_PROCESS_TIME = 50      # Simulated post-processing time

    # Log Settings
    LOG_LEVEL = "INFO"
    LOG_FILE = "log/simulator.log"