Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

feat: add a service mesh and validator #40

Merged
merged 2 commits into from
Apr 8, 2024
Merged

Conversation

GuiBibeau
Copy link
Collaborator

Description of the pull request

TL/DR:

This creates two more pieces of the puzzle for the Akeru subnet:

  • the validators are now working and take in requests for models
  • the service map works to start mapping the edge network

In details:

Validator:

The validator currently has the job of fetching what miners have subscribed to the subnet. Instead of relying on the metagraph, it relies on the service mesh since the metagraph is limited to subnet information and we will eventually need more information like latency and other information

Service mesh:

The service mesh enables discovery of services provided by miners. Miners open up a flask API and register to the service mesh letting them know their hosted information, geographical location and available services(models and other eventually)

This let's validators decide where to route a request.

This is still really raw and unpolished. next weeks will serve to clean up the code, add features and deploy pipelines.

Changes made

  • Creates the service map API
  • creates validators

@GuiBibeau GuiBibeau merged commit ce8cac8 into main Apr 8, 2024
1 check failed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant