-
Notifications
You must be signed in to change notification settings - Fork 25
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
endo daemon with rspace / rhovm storage #35
Comments
For Endo-as-Docker-but-JavaScript-but-actually-confined, in the first cut,
I’m raking my cues from early Git. .git/refs are pet names. .git/objects is
a merkelized CAS. So, for Endo, I’m persisting blobs under
$XDG_STATE_HOME/endo/sha-512/$SHA512, storing refs under
…/pet-name/$PET_NAME.json, and derivation paths for live, restorable values
under …/value-uuid/$VALUE_UUID.json, restorable worker stuff under
…/worker-uuid/…, specifically restorable capabilities granted to workers
under …/worker-uuid/$WORKER_UUID/pet-names/$PET_NAME.json. That last bit is
analogous to Agoric’s durable objects, but in ephemeral execution contexts
that are not replayed from a full message transcript. My intent is to stand
that model on top of this one in the fullness of time. I also expect, that
if Endo ends up suffering the Good Problem, it will have to trace Git‘s
footsteps and ”pack” this files-and-bytes database into something faster.
…On Wed, Dec 21, 2022 at 8:12 AM Dan Connolly ***@***.***> wrote:
initial work on pet-named workers, storage, and values to the Endo Daemon
and expose them with its CLI
endojs/endo#1413 <endojs/endo#1413>
w.r.t. storage... is it just bytes?
I wonder about rspace / rhovm integration... not all of rholang, but just
the 3-opcode rhoVM (IOU pointer to boulder talk)
also seems related to the way I'd like to see SOLID pods evolve:
I wonder what would happen if we mixed the Agoric platform's ability to
scale down to clusters and single machines with the notion of a SOLID pod.
-- https://www.madmode.com/2021/next-gig-agoric.html
cc @kriskowal <https://github.com/kriskowal> @jimscarver
<https://github.com/jimscarver> @timbl <https://github.com/timbl>
—
Reply to this email directly, view it on GitHub
<#35>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAOXBVB5SEPMRVMJ6R4CS3WOMT6HANCNFSM6AAAAAATFZJIFM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@leithaus 's Boulder 2018 talk, to wit: cited from: my notes on RChain Devcon Boulder which is just a couple hops from:
|
you can certainly do worse than |
|
Now how do The rhoVM If not, the continuation goes into the store at that key, standing by... A wrinkle: In rholang, So To do
and refine Also, we should use the
|
hm... running in cloudflare workers? Do the storage APIs line up? |
Dear Dan,
i have expanded the RSpace verbs. There are a total of 16 verbs based on 4
bits.
- bit 1 - produce / consume
- bit 2 - ephemeral / persistent
- bit 3 - transacted / in-memory
- bit 4 - client is sequential / client is concurrent
These 4 verbs cover all proposed models of data access -- especially all
those in production systems (in classical compute settings). In particular,
they allow for an optimized compilation strategy for rholang 1.1. For
example, the let construct insists that the client access is sequential,
and the syntax is the annotation that lets the compiler know that this
guarantee is in place. The enhanced for-comprehension and output syntax
provide the information necessary to determine what exactly is transacted
(made durable by recording to store that persists even after the rholang
interpreter process is gone) versus what is in-memory only and doesn't have
to go to store (only lasts as long as the rholang process).
Love to all Beings,
…--greg
On Sat, Jan 28, 2023 at 10:45 AM Dan Connolly ***@***.***> wrote:
hm... running in cloudflare workers?
Do the storage APIs line up?
—
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAASW2WB4OHY7RVXNFYGMA3WUVSNDANCNFSM6AAAAAATFZJIFM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
L.G. Meredith
9336 California Ave SW
Seattle, WA 98136
+1 206.650.3740
r <http://biosimilarity.blogspot.com>chain.coop <http://rchain.coop>
|
@zarutian has some related work: durableVats.mjs and such. |
w.r.t. storage... is it just bytes?
I wonder about rspace / rhovm integration... not all of rholang, but just the 3-opcode rhoVM
also seems related to the way I'd like to see SOLID pods evolve:
cc @kriskowal @jimscarver @timbl
The text was updated successfully, but these errors were encountered: