ExMemvid.Embedding.Supervisor (ex_memvid v0.1.2)

Supervisor for managing partitioned embedding workers.

This supervisor manages multiple instances of embedding workers using PartitionSupervisor for better performance and load distribution. Workers are selected using round-robin to distribute the embedding workload across available CPU cores.

Summary

Functions

Returns a specification to start this module under a supervisor.

Gets the next available worker using round-robin selection.

Gets worker for a specific partition (used by PartitionSupervisor).

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_worker()

Gets the next available worker using round-robin selection.

get_worker_for_partition(partition)

Gets worker for a specific partition (used by PartitionSupervisor).

start_link(config)