Skip to content

Commit

Permalink
Minor improvements after the TC discussion
Browse files Browse the repository at this point in the history
  • Loading branch information
johny-b committed Feb 10, 2022
1 parent eafa543 commit fefdb09
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion gaps/gap-14_node_indices_api/gap-14_node_indices_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Consider few different approaches:
that it should be as non-demanding as possible. E.g. if one has only a single interesting number to share,
they should be able to do this pretty effortlessly.

* Implement similiar logic in `yagna`
* Implement similiar logic in `yagna` (Note: this will **not** be an another `yagna` API - here we only discuss a possible `yagna`-side implementation of a client-side logic).

```
yagna ext-api add provider-benchmark "http://golem.network/api/provider\_benchmark"
Expand Down Expand Up @@ -202,6 +202,15 @@ This is a draft that will be improved in GAP-10.
await metrics[2].get(provider_id="abc", start="2022-02-03") # [["2022-02-03", 140], ["2022-02-04", 170]]
```
### Decentralization of the node indice APIs ecosystem
As mentioned in the [Decisions](#decisions) section, Golem Network will maintain a list of recommended APIs. But what about more decentralized solutions?
We don't have any certain plans yet, but there are few pretty clear directions:
* Anyone in possession of any useful information about nodes operating on the Golem network can expose such API.
* Information about existing node indices APIs could be distributed over the Golem protocol.
* One day we could have aggregators of node indices APIs, who will gather information from many different sources and provide aggregates as just another API.
## Rationale
Basic rationale is included in the `Motivation` section.
Expand Down

0 comments on commit fefdb09

Please sign in to comment.