Skip to content

Latest commit

 

History

History
31 lines (30 loc) · 1.19 KB

File metadata and controls

31 lines (30 loc) · 1.19 KB

Upgrade to Async

ToDo

  • Everything should be single-threaded (and mut?)
  • Executor
    • Add async to Executor trait
    • Move to async: Archive
    • Move to async: Director
    • Move to async: Elasticsearch
    • Move to async: foreach
    • Move to async: Icinga2
    • Move to async: logger
    • Move to async: monitoring
    • Move to async: script
    • Move to async: smart_monitoring_check_result
    • Archive executor: check whether the tracing_appender::non_blocking can be used to write to file
  • Matcher
    • Replace FS operation with async equivalents
    • Move Dispatcher to a separate module
      • Dispatcher should be async
      • Dispatcher should accept a Command as callback
      • Should Dispatcher be a command?
    • Remove duplication between eventbus and dispatcher (remove eventbus?)
  • Network
    • Should be !Send and !Sync
  • Replace LazyStatic with OnceCell
  • Tornado
    • Rewrite actor based Retry Logic to use the Command pattern
    • Rewrite actor based Executor Pool Logic to use the Command pattern
    • Rewrite actor based Pool Logic to use the Command pattern
    • Add SpawnCommand