Worker

Noun · Development

Definitions

  1. A background execution context — in browsers, a Web Worker runs JavaScript on a separate thread from the main UI thread, communicating via postMessage; in backend systems, a worker is a process that pulls tasks from a job queue (e.g., Sidekiq, Celery) and processes them asynchronously.

    In plain English: A background process that handles tasks separately from the main program so the user interface doesn't freeze.

    Example: "We offloaded the CSV parsing to a Web Worker so the UI thread stays responsive while it crunches a 200 MB file."

Related Terms