Skip to content

Automatically manage zeuz node instances and external service reporting.

Notifications You must be signed in to change notification settings

sazid/node_manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node_manager

Go CodeQL

Automatically manage zeuz node instances and external service reporting.

Decision for node to start/kill:

active = inprogress + idle

// minimum no of nodes must be started
IF active < min nodes THEN
	start (min - active) nodes

// all nodes are in progress
ELSE IF active == inprogress AND active+1 <= max allowed nodes THEN
	start 1 more node

// kill unnecessary nodes
ELSE IF idle > 1 AND active > min nodes THEN
	kill (idle - 1) nodes

Flowchart:

About

Automatically manage zeuz node instances and external service reporting.

Resources

Stars

Watchers

Forks

Packages

No packages published