-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add endpoint for service status #116
Comments
I don't see how this helps scalability, but it goes some way to help discoverability and service selection for search. |
I agree this could be interesting, but I'm not sure of the immediate utility, other than current availability. I think we should put this on ice till a few more databases are connected, as we might then better understand our needs. |
How about this as 'heartbeat' endpoint under "/heartbeat":
|
Looks fine to me. However do we need a |
Fine, updated in the comment. |
I er meant the resulting HTTP status code of the request to the heartbeat endpoint. |
Sure, that's kinda implied I think given HTTP |
Right. So I see no reason to include |
Good point, gone. |
looking great guys! For one fine day, probably not the first release, should we also have a field that gives back a "throughput" of a node. For example, the time taken to return a result to a query in milliseconds. Or would that be redundant and should be calculated locally? |
@harindra-a looks like a MVP set to me... =/ I'm not really sure what use a "throughput" calcualtion would be. It's totally different based on the data given. It has no meaning at all. |
I was thinking an average, given most requests coming in are fairly consistent, and automated answers/matches sent back can be timed. As a network grows, it can be a proxy for efficiency of the network as a whole. Anyway, your point is valid, and this is definitely not needed for now. Scratch it |
I've seen a huge difference in time required for requests that contain only phenotypic data and no genes (which is perfectly legal). These types of requests can take a LOT longer depending on phenotypes. |
Following the Baltimore MME meeting, this was formalized and accepted for 1.1 |
yes, nice work everybody! |
Pull request required. |
I created branch for it adding a heartbeat-api.md file, see https://github.com/ga4gh/mme-apis/tree/issue-116 . I tend to be pretty brief when it comes to specs, please review and updated as needed. I will generate a pull request for it next week. |
Issue #116: Pull Request for heartbeat into 1.1
Currently, the API has a single endpoint:
.../match
. I propose adding a new, public, endpoint, e.g..../status
whereby each system reports the status and configuration of that endpoint. I think this is very important for the scalability of this system.Specifically, it would report any public data and dynamic attributes about that endpoint in a way that other MME services can consume. These could potentially include:
Having this data be available as the response to a query to a non-authenticated endpoint allows other services and interested parties to see the extent of the network and what data is supported before going through the process of negotiating a key exchange.
The text was updated successfully, but these errors were encountered: