Stack

Your entire environment, ready to run.

Describe the services behind a project and the conditions each one needs before it can start.

Stack / shop-api Design preview

Checkout environment

4 healthy
checkout-api HTTP service :8080
receipt-worker Background job receipts
postgres Database :5432
redis Queue :6379
Project shop-api
Configuration checkout-local
Revision 7d6b8f2
Execution Local runner
Read the service topology with its readiness conditions.

A running database process can still be restoring its tables. The environment is ready when its dependencies can do the work the application requires.

Start in dependency order.

A shared revision defines the topology. The startup record explains when services became ready and which dependent processes could proceed.

Stack / shop-api Design preview

Environment manifest

checkout-local

Project
shop-api
Source
main@7d6b8f2
Runner
local
Data volume
shop-checkout-data

Startup record · elapsed (s)

  1. 00.000
    Manifest resolved checkout-local · rev 7d6b8f2
  2. 00.386
    Volume attached shop-checkout-data
  3. 01.212
    Dependencies ready PostgreSQL accepting connections · Redis PONG
  4. 01.498
    Worker subscribed receipt-worker · queue receipts
  5. 01.805
    Application ready GET /healthz returned 200
The example records readiness against a single project revision.
Service topology
Place the API, worker and backing services in the same project definition. Express readiness at the dependency edge.
Reproducibility
Tie image versions and startup configuration to a revision so another developer can recreate the environment.
Execution target
The design allows a shared definition to describe a local or managed environment. The target remains explicit in the run record.

How Stack fits into the planned x1991 workspace.

Availability

In development

Release history

Stack is in development. The interfaces use illustrative data. A public release date has yet to be announced.

Read the Stack concept guide