Superintelligence.ResourceManager (superintelligence v0.1.0)

Advanced resource manager that handles:

  • CPU and memory allocation
  • Connection pooling
  • Rate limiting
  • Resource quotas
  • Dynamic scaling

Summary

Functions

acquire_resource(pool_name, timeout \\ 5000)

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

create_pool(name, type, opts \\ [])

get_usage()

init(opts)

Callback implementation for GenServer.init/1.

release_resource(pool_name, resource)

set_quota(component, limits)

start_link(opts \\ [])