Skip to content

sholiday/odin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odin

Odin is a system to run arbitrary programs on your cluster.

Currently there is no scheduler.

It is a proof of concept at the moment and is terribly inefficient and threaded badly.

Built on:

Terms:

  • Runnable: a command and configuration to run a program on a single machine which will be monitored.
  • Task: A single instance of a job. Contains a single runnable, information for where to get program and files.
  • Job: A set of tasks (each with multiple instances). A user creates a Job to be run somewhere on the cluster.
  • Machine: A computer where many tasks will run. Runs a supervisord instance. It has an IP.
  • Politician (Need a better name): A server that may become the leader of the cluster. A politician schedules jobs on the cluster and accepts Jobs to be added to the cluster. Only one politician is in charge, they are the Leader. Leaders are elected through a ZooKeeper based algorithm.

Creating Jobs

create_job(command = 'cat', args = ['--port=%PORT%', '--input=file',], data = ['ftp://files/some/file'], cell = 'test', minimum = 1, maximum = 2, )

About

Run arbitrary programs on your cluster. Built on ZooKeeper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages