Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

How Bees runs team work without a central dispatcher

说明与用途

Bees 通过让每台电脑自行决定是否能执行工作,并使用 Bees Cloud 仅提供锁定和共享记录,实现了无需中央调度器的分布式、上下文感知任务执行。

问题

Central dispatchers assume homogeneous machines; Bees agents run on heterogeneous local machines and need local context (folders, add‑ons).

结果

Bees enables distributed, context‑aware job execution without a central dispatcher by letting each computer decide eligibility, claiming runs via a lightweight lock, and synchronizing state through a shared record.

工作流

  • 1. Schedule fires on each computer’s Temporal engine at the set time.
  • 2. Computer checks local prerequisites (enabled agent, connected add‑ons, linked folders).
  • 3. If prerequisites met, computer requests a schedule key from Bees Cloud; first to get it claims the run.
  • 4. Computer records itself as owner in Bees Cloud and starts the first stage with the chosen agent.
  • 5. Agent completes stage, updates local Temporal record; computer syncs shared record every 15 s.
  • 6. If a stage needs approval, the agent pauses and waits for a person to approve on the same computer.
  • 7. Owner can press “Relinquish control” to stop the run and write a checkpoint; Bees Cloud marks run free.
  • 8. Another computer can press “Continue on this machine”, verify checkpoint and files, claim the run, and resume the unfinished stage.
  • 9. Run completes all stages, syncing status to the shared record.
  • 10. Team members see progress via their local Bees apps.

证据

A Bees agent runs on your computer, next to your files, your sign‑ins and the add‑ons you connected.

来源

Our server, Bees Cloud, does two small jobs. It keeps a lock so two computers do not run the same work, and it keeps a shared record so your team can see where the work is.

来源

If the schedule has synced to both. Each one's Temporal fires it at 9:00, and each asks Bees Cloud for the key for this report at Monday 9:00.

来源

The laptop closes the lid. The laptop sleeps in the middle of Draft. Bees Cloud does nothing about it and sends nothing to anyone.

来源

  • 记录日期: 2026-10-06T10:41:16.860Z