Private beta, by invitation. It may change without warning. While the beta lasts, some paid features are free. See pricing

trumlyspec GitHub
Try trumly

← Packs

resilience

VerifiedEnrichment0.3.1

Use when: When you need to say how the system survives loss: recovery objectives, backups and fallbacks.

Surviving loss: recovery objectives, backups and fallbacks. Rules are errors: every datastore has a recovery objective, and every datastore that holds data that cannot be rebuilt has a backup. A cache is rebuilt, so it needs no backup.

Add it

Open it in trumly cloud to start a project with this pack already in. In an existing project, open the editor's Packs tab, choose resilience, then Add. Nodes you change after adding are kept when the pack is upgraded.

From a known source. Reviewed by us, and the publisher is known.

Explore is a read-only demo in your browser: nothing to sign in to, and nothing is saved.

Namespace
sdz--
Size
13 nodes
Needs
core@^1.0.0
Works with
hosting@^0.3.0, data-model@^0.6.0
Enriches
datastore, component
Publisher
trumly
Versions
0.3.1·0.3.0·0.2.0
Checksum
559db140d64a93d6…

Examples 1

  • Surviving a lost databaseA starting point

    A backup that has had a restore tested, and the time and data loss the database may suffer.

    27 nodes25 typesneeds core

    Show the 27 nodes
    • Jobs listedacceptance-criterionacceptance-criterion-jobs-listed
    • Ops staffactoractor-ops-staff
    • Job volume stays modestassumptionassumption-job-volume
    • Nightly backupbackupbackup-ops-db
    • View job statuscapabilitycapability-view-job-status
    • Ops APIcomponentcomponent-ops-api
    • Jobconceptconcept-job
    • Vertical scalingconsequenceconsequence-one-engine
    • Data stays in UK/EUconstraintconstraint-uk-eu-data
    • Short titlesconventionconvention-short-titles
    • Ops dbdatastoredatastore-ops-db
    • Managed document storedecision-optiondecision-option-document-store
    • Managed PostgreSQLdecision-optiondecision-option-managed-postgres
    • Database choicedecisiondecision-use-postgres
    • Productionenvironmentenvironment-production
    • Timely ops visibilitygoalgoal-timely-visibility
    • Live job statusincrementincrement-live-status
    • Ops APIinterfaceinterface-ops-api
    • Job status agemetricmetric-status-freshness
    • Ops APIoverviewoverview
    • Prefer managed servicesprincipleprinciple-prefer-managed
    • Database recoveryrecovery-objectiverec-ops-db
    • List jobsrequirementrequirement-list-jobs
    • Job volume growthriskrisk-job-volume-growth
    • Devteamteam-dev
    • Platformteamteam-platform
    • Build status APIwork-packagework-package-build-status-api

Planes 1

  • Recovery

Types 3

  • backupA copy of data kept to restore from.
  • fallbackWhat happens instead when a dependency is down.
  • recovery-objectiveHow much data and time we can afford to lose.

Link types 3

  • backed-up-bydatastore → backupThe datastore is copied by this backup.
  • falls-back-tocomponent → fallbackWhen this dependency fails, use this instead.
  • recovers-todatastore, component → recovery-objectiveThe datastore or component must recover within this objective.

Rules 6

  • WarningEvery backup is the backup of a datastore
  • WarningEvery backup has had a restore tested
  • WarningEvery recovery objective is set for a datastore or component
  • ErrorEvery recovery objective states time and data loss
  • ErrorEvery datastore that holds data that cannot be rebuilt has a backup
  • ErrorEvery datastore has a recovery objective