Closed maennchen closed 4 years ago
Example Adapter with Swarm: https://github.com/quantum-elixir/quantum-swarm/blob/master/lib/quantum_swarm.ex
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
lib/quantum/executor_supervisor.ex | 1 | 3 | 33.33% | ||
lib/quantum/clock_broadcaster.ex | 1 | 4 | 25.0% | ||
lib/quantum/execution_broadcaster.ex | 1 | 4 | 25.0% | ||
lib/quantum/job_broadcaster.ex | 1 | 4 | 25.0% | ||
lib/quantum/node_selector_broadcaster.ex | 1 | 4 | 25.0% | ||
lib/quantum/task_registry.ex | 1 | 4 | 25.0% | ||
<!-- | Total: | 22 | 39 | 56.41% | --> |
Totals | |
---|---|
Change from base Build a1ca7c42fe7be5cb2d4efce7cffd369f7dc0fa0b: | -4.3% |
Covered Lines: | 285 |
Relevant Lines: | 336 |
Allows Implementation of #411
This allows new libraries that start quantum on its own terms. Even the central
Supervisor
can be overwritten to allow full control.For better handling with restarts, implementations could also provide a default
storage
that provides ephemeral storage inside the cluster. This would keep the storage as long as not all nodes in the cluster are restarted at the same time.