storj/docs/blueprints
Jess G 73b2cd3fd5
docs/blueprints: blueprint nodes cache (#3838)
* init design for selecting nodes for uploads

Change-Id: I40920a88fc8c0c8591eaf3f4e711578ca02dad73

* spelling erro

Change-Id: I843945f356dbdfd5c8b7cefee91ab4172c41f3fb

* updates per comments

Change-Id: I2d6f0f9b4f22c4c7ae8ed80c4f533d2d9392badf

* add details

Change-Id: Id31ecfbe9f7ff068b127f04ba061a3fb9ad254cc

* mv redis to rationale section

Change-Id: I98d8565bb228555d92682d3b08c99c6056b0a84b

* add details about ReliabilityCache

Change-Id: I9f0ecf0a96a217c5e55c6a855b8e06e0a76ab574

* add option details

Change-Id: Icd229cbbdc263466d16856fdd82a021509a1c76a

* add opt for queue

Change-Id: I9d36e5e6f923440b6c22066a2aaf981aecc584d6

* final updates

Change-Id: Iee74985f3a45b3ef58ff23ef3ae26f609fb7f0d5
2020-05-06 07:44:21 -07:00
..
archive docs/blueprints: referral manager v1 (#3038) 2019-10-07 09:38:05 -04:00
images design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
storagenode-graceful-exit docs/blueprints: updating term to held amount (#3248) 2019-10-11 21:05:50 +03:00
audit-containment.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
audit-suspend.md docs/blueprints: Add blueprint for creating a new state for storagenodes, suspension (#3778) 2020-02-19 14:29:48 -05:00
audit-v2.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
cache-node-selection.md docs/blueprints: blueprint nodes cache (#3838) 2020-05-06 07:44:21 -07:00
deletion-performance.md docs/blueprints: Change adapt endpoint by creating (#3601) 2019-11-19 14:28:19 +01:00
disqualification.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
distributed-tracing.md docs/blueprints: Add design doc for distributed tracing. 2020-02-25 20:29:05 +00:00
fast-billing-changes.md satellite/satellitedb: use queue for orders to get back fast billing 2020-02-24 17:07:07 +00:00
garbage-collection.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
kademlia-removal.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
link-sharing-service.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
metainfo-rpc.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
mountable-drive.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
node-selection.md docs: add reputation documentation (#2982) 2019-09-10 14:24:58 +03:00
notification-system.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
password-key-derivation.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
path-component-encoding.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
README.md docs/blueprints: update link to uplink docs 2020-04-13 21:00:31 -06:00
referral-manager-v1.md docs/blueprints: referral manager v1 (#3038) 2019-10-07 09:38:05 -04:00
repair-with-hashes.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
satellite-billing-system.md satellite/payments: add documentation 2020-04-30 21:12:16 +00:00
satellite-svc-separation.md private/testplanet: expose storagenode and satellite Config 2020-03-27 17:01:25 +02:00
slow-down-and-retry.md docs/blueprints: slow down and retry (#3826) 2020-04-15 00:25:08 +02:00
storage-node-automatic-updater.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
storage-node-downtime-tracking.md satellite: change the Peer name to Core (#3472) 2019-11-04 11:01:02 -08:00
storage-node-satellite-selection.md storagenode/trust: wire up list into pool 2019-12-13 20:32:50 +00:00
storage-node-windows-installer.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
TEMPLATE.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
uplink-scopes.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
uplink-telemetry.md docs: Add uplink telemetry doc 2020-02-25 17:52:34 +00:00
value-attribution.md design/blueprints (#2927) 2019-09-09 08:55:05 -06:00
zombie-segments-cleaner.md docs/design: zombie segments cleaner (#3461) 2019-11-12 00:25:51 -08:00

Blueprint Process

Design docs are now known as blueprints. We do not intend to keep blueprints up to date once the implementation has been completed. The final step of a blueprint is to update documentation elsewhere, such as:

Blueprints will be checked in as Markdown files in docs/blueprints folder.

Blueprints should have an editor, at least one discussion meeting, and at least two reviewers from the architecture board.

The editor is responsible for:

  • soliciting authors or authoring the document themselves,
  • scheduling discussion meetings,
  • finding reviewers,
  • posting the document in our forum, and
  • getting the document finalized and merged

The editor is also responsible for making a list of epics and tickets after the blueprint is finalized and merged. These should include archiving the blueprint when completed and updating appropriate documentation.

The reviewers are responsible for reviewing the clarity and reasonableness of the document.

The discussion meeting should have at least three people present. Invitees should familiarize with the document prior to the discussion. The reviewers should be present. If there are open problems after the meeting, then the meeting should be repeated.

One of the reviewers must be an architecture owner, currently:

  • Egon (@egonelbre),
  • Kaloyan (@kaloyan-raev),
  • JT (@jtolds),
  • Jens (@littleskunk),
  • unless agreed otherwise

The other reviewer should be someone with significant distributed systems expertise, currently:

  • Paul (@thepaul),
  • Simon (@simongui),
  • Jeff (@zeebo),
  • Matt (@brimstone),
  • unless agreed otherwise.

However, it is expected that there should be feedback from the engineering team, DevOps team, data science team, UX team, QA team, and the community.

Template

The blueprint uses TEMPLATE.md as a guide. However, it can be modified when necessary.

The template has the following sections:

  • Abstract gives an overview of the blueprint and what it accomplishes. It does not go into details about the problem.

  • Background gives an overview of the background why this blueprint exists. It describes the problems the blueprint tries to solve. It describes the goals of the design.

  • Design contains the solution and its parts. The level of detail should correspond to the level of risk. The more problems a wrong solution would cause, the more detailed should be the description. The design should describe the solution to the degree it is usable by the end-user.

  • Rationale section describes the alternate approaches and trade-offs. It should be clear why the proposed design was chosen among the alternate solutions.

  • Implementation describes the steps to complete this blueprint. It should contain a rough outline of tasks. If necessary, there can be additional details about the changes to the codebase and process.

  • Wrap up describes the steps needed

  • Open Issues contains open questions that the author did not know how to solve.

Format

The blueprint is intended to be read by developer contributors outside of Storj, but not the wider public. It is okay to assume some familiarity with the Storj project. Try to avoid acronyms that aren't common in the general developer community. Prefer simple sentences. Active voice is usually easier to read. Overall, be clear.