Skip to content

PureEdgeSim 6.0

Choose a tag to compare

@CharafeddineMechalikh CharafeddineMechalikh released this 27 Oct 19:31

Service graphs

The headline change: an application can now emit a graph of dependent subtasks instead of one flat task per request. Each stage is released only after the stages it depends on have returned their results, a parent's result is added to the payload of its children, the application latency becomes an end-to-end deadline shared by every stage, and a stage marked optional="true" is skipped when its input fails instead of cancelling the request. Declared in applications.xml:

<subtask name="detect" depends_on="capture" task_length="5000"/>

Monolithic applications behave exactly as before, and both styles coexist in one scenario file.

Also new in 6.0

  • Request-level reporting. The text report and the 56-column CSV now count requests as well as tasks: generated, completed successfully, failed, average end-to-end makespan, and a line for tasks lost to a failed dependency.
  • Every parameter can be a random variable. Task sizes, lengths, arrival gaps, device capacities, battery levels and initial positions accept any of sixteen distributions, and random_seed replays the whole scenario identically.
  • Nine mobility models, chosen per device type by name in the scenario file.
  • Twenty-four example scenarios, each a self-contained folder with its own README, settings, and measured results: graph partitioning, Q-learning, deep reinforcement learning, ant colony, multi-access MEC, three-layer fog, clustering, container placement, and dynamic replanning of a service graph.
  • Repository restructure. Framework sources under PureEdgeSim/main/java, tests under PureEdgeSim/test, one folder per example.
  • A Python twin. The same simulator, the same five configuration files and the same 56-column output live in PureEdgeSim_Python.

Verified on this build

Check Result
Test suite 1103 tests, 0 failures (coverage workflow run 29)
JaCoCo coverage 98.2 % instructions, 96.2 % branches
Published benchmark 1.81 s for the shared baseline scenario, usable up to roughly 80,000 devices (Simulation Modelling Practice and Theory 138, 103042)

Getting PureEdgeSim 6.0

Maven Central still serves 5.1.0: the project has to move from the retired OSSRH staging repository to the Central Publisher Portal before 6.0 can be deployed. Until then, use the jar attached below, or build from source with mvn -DskipTests package. Requires Java 8 or newer.

The full list of changes is in CHANGELOG.md.