Use spot instances for builders #133

Open
opened 2026-03-31 22:58:44 +00:00 by anton · 1 comment
anton commented 2026-03-31 22:58:44 +00:00 (Migrated from codeberg.org)
No description provided.
ryansquared commented 2026-05-06 02:42:24 +00:00 (Migrated from codeberg.org)

Implementation consideration: spot instances could technically be terminated within two minutes. We'd need to subscribe to EventBridge and have a mpmc in Caution to emit EventBridge events to each builder. Builders then have to select! between the main loop and receiving events from EventBridge. If EventBridge notifies that a builder will be going offline, the instance should be terminated and a new instance should be created.

Implementation consideration: spot instances could technically be terminated within two minutes. We'd need to subscribe to EventBridge and have a mpmc in Caution to emit EventBridge events to each builder. Builders then have to `select!` between the main loop and receiving events from EventBridge. If EventBridge notifies that a builder will be going offline, the instance should be terminated and a new instance should be created.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
public/platform#133
No description provided.