Skip to content

Standardize long-running/batch processes #23

@eaton

Description

@eaton

We do long-running processes quite frequently. The standout examples right now are Spider.run(), URLHierarchy building, and any of the VerticeWorker implementations. Standardizing these operations would be a big improvement for the general dev experience.

  • Standardize ongoing updates around the JobStatus interface
  • Use a CancellablePromise — or provide a cancel reference in the status object?
  • Add interactive and verbose status updates to SpiderCommand (eliminating a bunch of boilerplate code for long-running processes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions