{"action":"created","issue":{"url":"https://api.github.com/repos/apache/trafficserver/issues/653","repository_url":"https://api.github.com/repos/apache/trafficserver","labels_url":"https://api.github.com/repos/apache/trafficserver/issues/653/labels{/name}","comments_url":"https://api.github.com/repos/apache/trafficserver/issues/653/comments","events_url":"https://api.github.com/repos/apache/trafficserver/issues/653/events","html_url":"https://github.com/apache/trafficserver/pull/653","id":156046840,"number":653,"title":"TS-4331: Major re-write of hostdb","user":{"login":"jacksontj","id":1619869,"avatar_url":"https://avatars.githubusercontent.com/u/1619869?v=3","gravatar_id":"","url":"https://api.github.com/users/jacksontj","html_url":"https://github.com/jacksontj","followers_url":"https://api.github.com/users/jacksontj/followers","following_url":"https://api.github.com/users/jacksontj/following{/other_user}","gists_url":"https://api.github.com/users/jacksontj/gists{/gist_id}","starred_url":"https://api.github.com/users/jacksontj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacksontj/subscriptions","organizations_url":"https://api.github.com/users/jacksontj/orgs","repos_url":"https://api.github.com/users/jacksontj/repos","events_url":"https://api.github.com/users/jacksontj/events{/privacy}","received_events_url":"https://api.github.com/users/jacksontj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apache/trafficserver/labels/HostDB","name":"HostDB","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"jpeach","id":9917,"avatar_url":"https://avatars.githubusercontent.com/u/9917?v=3","gravatar_id":"","url":"https://api.github.com/users/jpeach","html_url":"https://github.com/jpeach","followers_url":"https://api.github.com/users/jpeach/followers","following_url":"https://api.github.com/users/jpeach/following{/other_user}","gists_url":"https://api.github.com/users/jpeach/gists{/gist_id}","starred_url":"https://api.github.com/users/jpeach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpeach/subscriptions","organizations_url":"https://api.github.com/users/jpeach/orgs","repos_url":"https://api.github.com/users/jpeach/repos","events_url":"https://api.github.com/users/jpeach/events{/privacy}","received_events_url":"https://api.github.com/users/jpeach/received_events","type":"User","site_admin":false},"assignees":[{"login":"jpeach","id":9917,"avatar_url":"https://avatars.githubusercontent.com/u/9917?v=3","gravatar_id":"","url":"https://api.github.com/users/jpeach","html_url":"https://github.com/jpeach","followers_url":"https://api.github.com/users/jpeach/followers","following_url":"https://api.github.com/users/jpeach/following{/other_user}","gists_url":"https://api.github.com/users/jpeach/gists{/gist_id}","starred_url":"https://api.github.com/users/jpeach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpeach/subscriptions","organizations_url":"https://api.github.com/users/jpeach/orgs","repos_url":"https://api.github.com/users/jpeach/repos","events_url":"https://api.github.com/users/jpeach/events{/privacy}","received_events_url":"https://api.github.com/users/jpeach/received_events","type":"User","site_admin":false},{"login":"bryancall","id":216749,"avatar_url":"https://avatars.githubusercontent.com/u/216749?v=3","gravatar_id":"","url":"https://api.github.com/users/bryancall","html_url":"https://github.com/bryancall","followers_url":"https://api.github.com/users/bryancall/followers","following_url":"https://api.github.com/users/bryancall/following{/other_user}","gists_url":"https://api.github.com/users/bryancall/gists{/gist_id}","starred_url":"https://api.github.com/users/bryancall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryancall/subscriptions","organizations_url":"https://api.github.com/users/bryancall/orgs","repos_url":"https://api.github.com/users/bryancall/repos","events_url":"https://api.github.com/users/bryancall/events{/privacy}","received_events_url":"https://api.github.com/users/bryancall/received_events","type":"User","site_admin":false},{"login":"SolidWallOfCode","id":1545753,"avatar_url":"https://avatars.githubusercontent.com/u/1545753?v=3","gravatar_id":"","url":"https://api.github.com/users/SolidWallOfCode","html_url":"https://github.com/SolidWallOfCode","followers_url":"https://api.github.com/users/SolidWallOfCode/followers","following_url":"https://api.github.com/users/SolidWallOfCode/following{/other_user}","gists_url":"https://api.github.com/users/SolidWallOfCode/gists{/gist_id}","starred_url":"https://api.github.com/users/SolidWallOfCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SolidWallOfCode/subscriptions","organizations_url":"https://api.github.com/users/SolidWallOfCode/orgs","repos_url":"https://api.github.com/users/SolidWallOfCode/repos","events_url":"https://api.github.com/users/SolidWallOfCode/events{/privacy}","received_events_url":"https://api.github.com/users/SolidWallOfCode/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/apache/trafficserver/milestones/1","html_url":"https://github.com/apache/trafficserver/milestones/7.0.0","labels_url":"https://api.github.com/repos/apache/trafficserver/milestones/1/labels","id":1751566,"number":1,"title":"7.0.0","description":"","creator":{"login":"zwoop","id":202131,"avatar_url":"https://avatars.githubusercontent.com/u/202131?v=3","gravatar_id":"","url":"https://api.github.com/users/zwoop","html_url":"https://github.com/zwoop","followers_url":"https://api.github.com/users/zwoop/followers","following_url":"https://api.github.com/users/zwoop/following{/other_user}","gists_url":"https://api.github.com/users/zwoop/gists{/gist_id}","starred_url":"https://api.github.com/users/zwoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwoop/subscriptions","organizations_url":"https://api.github.com/users/zwoop/orgs","repos_url":"https://api.github.com/users/zwoop/repos","events_url":"https://api.github.com/users/zwoop/events{/privacy}","received_events_url":"https://api.github.com/users/zwoop/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":73,"state":"open","created_at":"2016-05-06T14:28:01Z","updated_at":"2016-06-27T20:39:30Z","due_on":"2016-10-15T06:00:00Z","closed_at":null},"comments":43,"created_at":"2016-05-20T20:40:07Z","updated_at":"2016-06-27T23:39:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/trafficserver/pulls/653","html_url":"https://github.com/apache/trafficserver/pull/653","diff_url":"https://github.com/apache/trafficserver/pull/653.diff","patch_url":"https://github.com/apache/trafficserver/pull/653.patch"},"body":"This is still a WIP, but I figure it's about time to get some feedback on the code here.\r\n\r\nThe primary goal of this is to fix the crashing issues described in TS-4331, where basically multicache wasn't keeping track of who referenced various items within the cache.\r\n\r\nAt this point my TODO list still is:\r\n- Additional tests\r\n  - tests for syncing/loading cache from disk\r\n- remove `HOST_DB_MAX_ROUND_ROBIN_INFO` as a compile time constant-- make it configurable (this will probably get bumped into a separate PR-- since it requires some work down in the dns processor as well).\r\n\r\nNice-to-have:\r\n- MgmtMarshall for serialization (ideally moving it into lib/ts)\r\n\r\nI'm sure more will come up, I'll do my best to keep this list ^^ up-to-date\r\n\r\nNote: the plan for this PR is to get something better that works in, I don't want this PR to drag out forever due to scope creep ;) At this point I think we have enough features complete to merge this.\r\n\r\nAfter testing and rolling this change out internally, we see a significant performance improvement even over multicache with no persistance (this is the latency of an in-memory fileserver, Blue is \"control-- specifically normal multicache with syncing, Red is this PR, green is \"control with no syncing\"-- the spikes are the crashes from multicache) :\r\n![hostdb_rewrite](https://cloud.githubusercontent.com/assets/1619869/16017080/175a00c2-3153-11e6-9505-7d3daeb1fef7.png)\r\n"},"comment":{"url":"https://api.github.com/repos/apache/trafficserver/issues/comments/228908055","html_url":"https://github.com/apache/trafficserver/pull/653#issuecomment-228908055","issue_url":"https://api.github.com/repos/apache/trafficserver/issues/653","id":228908055,"user":{"login":"atsci","id":19295688,"avatar_url":"https://avatars.githubusercontent.com/u/19295688?v=3","gravatar_id":"","url":"https://api.github.com/users/atsci","html_url":"https://github.com/atsci","followers_url":"https://api.github.com/users/atsci/followers","following_url":"https://api.github.com/users/atsci/following{/other_user}","gists_url":"https://api.github.com/users/atsci/gists{/gist_id}","starred_url":"https://api.github.com/users/atsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsci/subscriptions","organizations_url":"https://api.github.com/users/atsci/orgs","repos_url":"https://api.github.com/users/atsci/repos","events_url":"https://api.github.com/users/atsci/events{/privacy}","received_events_url":"https://api.github.com/users/atsci/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T23:39:02Z","updated_at":"2016-06-27T23:39:02Z","body":"Linux build *successful*! See https://ci.trafficserver.apache.org/job/Github-Linux/256/ for details.\n \n"}}
{"actor":{"display_login":"atsci"}}