oasisprotocol / oasisprotocol/oasis-core

Framework for scheduling feature-compatible Contracts & Nodes

Open
#330 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

c:registry c:runtime/compute
Dominant language
Go
Stars
369
Forks
151
Avg merge
1d 3h
Merged PRs (30d)
6

Description

This idea has come up in two contexts:

  1. maximum request size to compute node
  2. external libraries loaded by compute node (e.g. MXNet)

Based on the discussion so far, the proposal is:

  • allow the contract to register a list of required resources (e.g., libraries, max request size)
  • allow the compute nodes to maintain a /etc/ekiden/compute.conf (just like a webserver)
  • have the scheduler assign contracts to nodes which provide a superset of the required resources
  • bonus: compute nodes can charge for providing more resources

Security note: The types of resource requests need to be kept generic enough so that a malicious contract can't single out a particular group of compute nodes. Perhaps even not scheduling contracts that don't hit a target percentage of all compute nodes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the scheduler, contract resource requirements, and compute-node configuration described in the issue. Trace how contracts are assigned to nodes and how nodes could expose resources through /etc/ekiden/compute.conf. Done means a decided, secure compatibility model covering resource registration, superset matching, and the privacy concern around identifying node groups.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
blockchain, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.