actord

command
v0.0.0-...-077b43f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

README

actord

Architecture
+----------+  +----------+  +----------+  +----------+  +----------+  +----------+
| JobQueue |  | WebHook  |  | JobQueue |  | WebHook  |  | JobQueue |  | WebHook  |
+----------+  +----------+  +----------+  +----------+  +----------+  +----------+
    |               |
    | 1:1           |
    |               |
+-------------+  +-----------------+  
| JobExecutor |  | WebHookExecutor |
+-------------+  +-----------------+  
    |               |
    +---------------+
        |
        | 1:N
        |
+--------------------+       +--------------------+     +--------------------+
| Actor/Orchestrator |       | Actor/Orchestrator |     | Actor/Orchestrator |
+--------------------+       +--------------------+     +--------------------+
      Host1                      Host2                      HostN
        |                          |                          |
        |     election             |                          |
        +-----------------------------------------------------+
                                 zone
TODO
  • any update/delete Job table need lock to avoid race condition with worker
  • watch orchestrator/jobconfig change, tables migration
  • metrics and alarm
  • force rebalance
  • audit
  • executor
    • learn from zabbix how to mv real time table to archive table
    • graceful shutdown
    • test dependent components outage
  • manager
    • call CreateJobQueue
    • dashboard
    • browse history

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL