Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

State Management

Joongi Kim edited this page Apr 14, 2017 · 3 revisions

Sorna's states includes the followings:

  • Global configurations - etcd
  • Docker kernel images - etcd
  • Available agent instances - etcd/Redis
  • Kernel sessions - RDBMS
  • API keypairs - RDBMS

Global configurations

  • Deployed Sorna agent version
    • Each agent initiates auto-updates by watching this value from etcd.

Docker kernel images

  • The list of docker kernel images
    • Each image has the target hash version for updates
    • Per-image requirements such as GPU required, compute-intensiveness, etc.

Available agent instances

  • Instance capabilities such as GPU-enabled or not.
  • Instance limits such as the memory size, the number of CPU cores, etc.
  • Instance occupation such as the number of allocated cores, etc.

Kernel sessions and API keypairs

  • Rate-limit information
  • Key availability
  • Occupation such as the number of concurrent sessions
  • Accumulated usage tracking (e.g., total CPU time used)
Clone this wiki locally