Skip to content
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

Read/write with CHC enabled #69

Open
3 of 4 tasks
ThetaSinner opened this issue Jul 23, 2024 · 1 comment · May be fixed by #92
Open
3 of 4 tasks

Read/write with CHC enabled #69

ThetaSinner opened this issue Jul 23, 2024 · 1 comment · May be fixed by #92

Comments

@ThetaSinner
Copy link
Member

ThetaSinner commented Jul 23, 2024

The CHC feature of Holochain is a "Chain Head Coordinator". The basic idea is to push all ops that an agent is creating to a remote service. If that agent switches machine to another machine with a CHC enabled conductor then they should be able to restore their source chain from the CHC.

Holo uses this feature to allow Holoports to be treated as transient. An agent is assigned to use a Holoport when they access an app through the browser. Any data they create is stored on the CHC service. When that user logs at another time, they can be allocated to a different Holoport and still see all the data they created last time.

  • We need Holochain to have CHC enabled, that will require changing the flake.nix in this repository and also tweaking our deploy to the Holoports
  • Where will we run the CHC service when the tests are deployed? Don't need to do this for the tests to get written, but we should have an answer to how.
  • We need a CHC service. If we can't make Holo's public then we should consider building our own reference implementation to be used with Holochain. I seem to remember that Holo are using some technology that we can't run locally, so we may not be able to use theirs.
  • We already have some TryCP tests that do read/write. We want to create another one of those but have CHC enabled and check that the content the test creates actually makes it to the CHC service.

Part of the performance testing should be to move agents between conductors but I think the above is enough for one issue. We can create a second issue for this if want to complete the coverage of the CHC feature.

@c12i c12i linked a pull request Sep 16, 2024 that will close this issue
@abe-njama abe-njama linked a pull request Sep 26, 2024 that will close this issue
@ThetaSinner
Copy link
Member Author

Depends on getting the CHC service deployed holochain/holochain-infra#155

@jost-s jost-s unassigned c12i Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

3 participants