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

Storage access caching (sdk-a) #6

Open
stneng opened this issue Sep 2, 2022 · 0 comments
Open

Storage access caching (sdk-a) #6

stneng opened this issue Sep 2, 2022 · 0 comments

Comments

@stneng
Copy link
Member

stneng commented Sep 2, 2022

Migrated from: https://github.com/CoLearn-Dev/colink-sdk-a-rust-dev/issues/2

Idea

We can reduce the protocol execution communication cost by caching some of the storage content used during the computation. Because we have read-only variables with globally unique naming, we can cache the key-value pairs.
Specifically,

  • The server can cache external (in variable transfer protocol) variables transferred from other parties.
  • The SDK can cache variables used during execution in memory to avoid communicating with the server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant