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

API: provide list of shuttle pings, aggregated by SP #865

Open
jcace opened this issue Jan 13, 2023 · 1 comment
Open

API: provide list of shuttle pings, aggregated by SP #865

jcace opened this issue Jan 13, 2023 · 1 comment
Assignees
Labels
New Feature Issues that we will work on with people or ourselves

Comments

@jcace
Copy link
Contributor

jcace commented Jan 13, 2023

Provide a method for the shuttle pings to be queried from the API, based on SP ID. This will be very valuable for troubleshooting and for SPs to know how their latency looks like to each of our shuttles. If SPs are not getting as many deals as expected, this will be a key indicator they can look at to determine why.

For example.
/get/sp-selection/f01234

returns

[
  {
    "shuttle": "shuttle-1",
    "ping": 68.12
  },
  {
    "shuttle": "shuttle-2",
    "ping": 106.23
  }
]
@jcace jcace added the New Feature Issues that we will work on with people or ourselves label Jan 13, 2023
@jcace jcace added this to the Improved SP Selection Mechanism milestone Jan 13, 2023
@jcace jcace assigned jcace and elijaharita and unassigned jcace Jan 13, 2023
@jcace
Copy link
Contributor Author

jcace commented Jan 13, 2023

Might make sense to cache the entire list of all shuttle <-> SP pings on the API so that there's a nice central place to look them up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature Issues that we will work on with people or ourselves
Projects
None yet
Development

No branches or pull requests

2 participants