-
Notifications
You must be signed in to change notification settings - Fork 34
docs: Add developer-friendly guide to Realm Instances #340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
e361ebf
961cedf
b27b30b
7ec8853
f513df7
68e7c94
553228c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,100 @@ | ||||||
| # What is a Realm Instance? A Developer's Guide | ||||||
|
|
||||||
| ## The Basics | ||||||
|
|
||||||
| Let's break down what a Realm Instance really is in everyday terms. Think of a Realm Instance like a secure container for your application - it's a special, isolated space where your code runs safely in Arm's Confidential Computing Architecture (CCA). | ||||||
Sukuna0007Abhi marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| ## Key Concepts: Building Blocks of a Realm Instance | ||||||
|
|
||||||
| ### The Birth Certificate: Realm Initial Measurements (RIM) | ||||||
|
|
||||||
| Think of RIM as your Realm's birth certificate - it's the first and most fundamental piece of identity: | ||||||
| - It's basically a hash (digest) of your code when it first starts up | ||||||
|
||||||
| - It's basically a hash (digest) of your code when it first starts up | |
| - It's basically a hash (digest) of the code and optionally configuration of the Realm instance when it first starts up |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - It's like giving unique names to twins - same base code, different identities | |
| - It's like giving unique names to twins - same base code and configuration, however different identities |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - With it? You can run multiple copies of the same code (like spinning up multiple web servers) | |
| - With it? You can run multiple copies of the same code and configuration (like spinning up multiple web servers) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe worth mentioning that it's often a footprint of instance specific data supplied to the realm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure sir @SimonFrost-Arm updated it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry if I wasn't clear - my comment applied to the RPV and not the RIM. Please move (new) line 15 down into the RPV section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok sir @SimonFrost-Arm I updated it, pls review again. In your free time
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, this section needs better exemplification of the real world usage of REM. I will stash another version for this section
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 48: Real example needs improvement, as well with an example:
A Workload needs to do identical job in a batch [parallel processing], so on a Server, Identical N Workloads are instantiated with the same RIM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok sir got it
Uh oh!
There was an error while loading. Please reload this page.