From 0e1763967819e12b88a30b67bd8b9e583ef39a60 Mon Sep 17 00:00:00 2001 From: Dawn Kelly <83190195+dawnkelly09@users.noreply.github.com> Date: Mon, 6 Jan 2025 23:41:52 -0500 Subject: [PATCH] Create mermaid diagram for Coretime (#268) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * adds mermaid diagram to describe coretime * Apply suggestions from code review Co-authored-by: Nicolás Hussein <80422357+nhussein11@users.noreply.github.com> --------- Co-authored-by: Nicolás Hussein <80422357+nhussein11@users.noreply.github.com> --- .../architecture/polkadot-chain/agile-coretime.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/polkadot-protocol/architecture/polkadot-chain/agile-coretime.md b/polkadot-protocol/architecture/polkadot-chain/agile-coretime.md index be6f622a0..d41dc191a 100644 --- a/polkadot-protocol/architecture/polkadot-chain/agile-coretime.md +++ b/polkadot-protocol/architecture/polkadot-chain/agile-coretime.md @@ -9,6 +9,15 @@ description: Explore the efficient scheduling mechanisms to access Polkadot core Agile Coretime is the [scheduling](https://en.wikipedia.org/wiki/Scheduling_(computing)){target=\_blank} framework on Polkadot that lets parachains efficiently access cores, which comprise an active validator set tasked with parablock validation. As the first blockchain to enable a flexible scheduling system for blockspace production, Polkadot offers unparalleled adaptability for parachains. +``` mermaid +graph TB + A[Cores Designation] + B[Bulk Coretime] + C[On-Demand Coretime] + A --continuous--> B + A --flexible--> C +``` + Cores can be designated to a parachain either continuously through [bulk coretime](#bulk-coretime) or dynamically via [on-demand coretime](#on-demand-coretime). Additionally, Polkadot supports scheduling multiple cores in parallel through [elastic scaling](https://wiki.polkadot.network/docs/learn-elastic-scaling){target=\_blank}, which is a feature under active development on Polkadot. This flexibility empowers parachains to optimize their resource usage and block production according to their unique needs. In this guide, you'll learn how bulk coretime enables continuous core access with features like interlacing and splitting, and how on-demand coretime provides flexible, pay-per-use scheduling for parachains. For a deep dive on Agile Coretime and its terminology, refer to the [Wiki doc](https://wiki.polkadot.network/docs/learn-agile-coretime#introduction-to-agile-coretime){target=\_blank}.