# Compute Exchange

> Make idle resources useful on their owners' terms.

Status: Concept. An idea we find promising. No design work has started.
Roadmap phase 8: Economics and compute. Phases follow dependencies, not dates.

A way for owners to offer bounded processing capacity for approved kinds of work, separate from the exchange of finished results.

## Why it matters

A great deal of capable hardware sits idle while useful work waits. Owners will only share it if they keep control over what runs and what it costs them.

## What changes

An owner describes capacity and the policies attached to it. Eligible, allowlisted workloads can use it, with usage metered and reported.

## How it might work

- Begin by describing capability and availability only.
- Run only safe, bounded, allowlisted workloads in isolated workers.
- Meter usage, report cost clearly and verify result quality.
- Support cancellation, and never require inbound access to a home network.
- Later adapters could route to established cloud providers as well as private machines.

## What must be solved

- No arbitrary third-party containers or code on household machines.
- Protecting the owner's network and devices.
- Checking that a result is correct when the hardware is untrusted.
- Fair metering across very different hardware.

## Built on what exists today

- [Semaphores](https://setget.net/docs#objects-leases)
- [Rate limits](https://setget.net/docs#objects-rate-limits)
- [Heartbeats](https://setget.net/docs#objects-heartbeats)

## Needs first

- [Mesh](https://setget.net/frontier/mesh)
- [Exchange](https://setget.net/frontier/exchange)
- [Sentinel](https://setget.net/frontier/sentinel)

## Related

- [Federation](https://setget.net/frontier/federation)
- [Receipts](https://setget.net/frontier/receipts)

Propose a change: https://setget.net/feedback?type=suggestion&vision=compute
