{"action":"created","issue":{"url":"https://api.github.com/repos/friendica/dir/issues/43","repository_url":"https://api.github.com/repos/friendica/dir","labels_url":"https://api.github.com/repos/friendica/dir/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/friendica/dir/issues/43/comments","events_url":"https://api.github.com/repos/friendica/dir/issues/43/events","html_url":"https://github.com/friendica/dir/issues/43","id":310984247,"number":43,"title":"Server health tests are a little unfair due to absolute timing values","user":{"login":"realkinetix","id":13442583,"avatar_url":"https://avatars3.githubusercontent.com/u/13442583?v=4","gravatar_id":"","url":"https://api.github.com/users/realkinetix","html_url":"https://github.com/realkinetix","followers_url":"https://api.github.com/users/realkinetix/followers","following_url":"https://api.github.com/users/realkinetix/following{/other_user}","gists_url":"https://api.github.com/users/realkinetix/gists{/gist_id}","starred_url":"https://api.github.com/users/realkinetix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realkinetix/subscriptions","organizations_url":"https://api.github.com/users/realkinetix/orgs","repos_url":"https://api.github.com/users/realkinetix/repos","events_url":"https://api.github.com/users/realkinetix/events{/privacy}","received_events_url":"https://api.github.com/users/realkinetix/received_events","type":"User","site_admin":false},"labels":[{"id":5060466,"url":"https://api.github.com/repos/friendica/dir/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-04-03T20:22:16Z","updated_at":"2018-04-30T14:03:26Z","closed_at":null,"author_association":"NONE","body":"As per [this thread](https://social.isurf.ca/display/c443a55c425ac2a2a2c3863252458336) servers that are further geographically from a directory server get lower health scores due to the latency involved.\r\n\r\nThere's been some discussion on how to adjust the absolute curl timing value, such as:\r\n\r\n- Grab the average or median value of a series of pings to the server in question, and subtract that from the curl time (perhaps with a correction factor - maybe double that ping value before subtracting due to TCP handshake response time, etc.)\r\n\r\nThere may be more that could be done, but perhaps some fairly simple 'corrective' factors around that absolute curl process time would be helpful with health scoring the servers that are further away network-wise.\r\n"},"comment":{"url":"https://api.github.com/repos/friendica/dir/issues/comments/385407405","html_url":"https://github.com/friendica/dir/issues/43#issuecomment-385407405","issue_url":"https://api.github.com/repos/friendica/dir/issues/43","id":385407405,"user":{"login":"AndyHee","id":28751375,"avatar_url":"https://avatars3.githubusercontent.com/u/28751375?v=4","gravatar_id":"","url":"https://api.github.com/users/AndyHee","html_url":"https://github.com/AndyHee","followers_url":"https://api.github.com/users/AndyHee/followers","following_url":"https://api.github.com/users/AndyHee/following{/other_user}","gists_url":"https://api.github.com/users/AndyHee/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyHee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyHee/subscriptions","organizations_url":"https://api.github.com/users/AndyHee/orgs","repos_url":"https://api.github.com/users/AndyHee/repos","events_url":"https://api.github.com/users/AndyHee/events{/privacy}","received_events_url":"https://api.github.com/users/AndyHee/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T14:03:25Z","updated_at":"2018-04-30T14:03:25Z","author_association":"NONE","body":"So the LOG-normal functions works as predicted. Here a before and after on the \"request_time\" variable:\r\n\r\n_Skewed_\r\n![image](https://user-images.githubusercontent.com/28751375/39430512-3c58e460-4cb8-11e8-95d0-400864521ec4.png)\r\n\r\n_Normalized_ \r\n![image](https://user-images.githubusercontent.com/28751375/39430448-0f8c8f86-4cb8-11e8-8ab2-ece33117eb02.png)\r\n\r\nThis would be ready for zoning, if it had the ping factored in. I'll try to give it go even before the next meeting.\r\n\r\n--\r\nBut there is a remaining issue, as we have an incomplete data set. I think, we need all known nodes because the inclusion of these 257 nodes out of more than 1000 is done rather arbitrary.  \r\n\r\n@MrPetovan do you think you could obtain data for all know nodes? All we need to ensure is that there is no duplication (e.g. http vs https). "}}
{"actor":{"display_login":"AndyHee"}}