{"action":"created","issue":{"url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/149","repository_url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue","labels_url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/149/comments","events_url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/149/events","html_url":"https://github.com/OpenHFT/Chronicle-Queue/issues/149","id":62824251,"number":149,"title":"Monitoring Index Depth","user":{"login":"pjulien","id":673277,"avatar_url":"https://avatars.githubusercontent.com/u/673277?v=3","gravatar_id":"","url":"https://api.github.com/users/pjulien","html_url":"https://github.com/pjulien","followers_url":"https://api.github.com/users/pjulien/followers","following_url":"https://api.github.com/users/pjulien/following{/other_user}","gists_url":"https://api.github.com/users/pjulien/gists{/gist_id}","starred_url":"https://api.github.com/users/pjulien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjulien/subscriptions","organizations_url":"https://api.github.com/users/pjulien/orgs","repos_url":"https://api.github.com/users/pjulien/repos","events_url":"https://api.github.com/users/pjulien/events{/privacy}","received_events_url":"https://api.github.com/users/pjulien/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-03-18T23:04:52Z","updated_at":"2016-06-27T14:53:49Z","closed_at":"2016-06-27T14:53:49Z","body":"I have 3 completely independent ``ExcerptTailer``s all reading from the same ``VanillaChronicle`` queue.  The queue itself only has a single writer.\r\n\r\nThe 3 readers use a single thread each, each using its own isolated tailer to do its work.  I am trying to figure out the best way to monitor their progress.  \r\n\r\nCurrently I'm doing \r\n\r\n```\r\ntardy = chronicle.lastWritterIndex() - lastConsumedIndex\r\n```\r\n\r\nAnd most of the time that seems to work.  However, when a reader gets too far behind the delta will have a difference in the billions/trillions.\r\n\r\nThis is because there are two components to the index.  The top 24 bits have the cycle number and the bottom 40 bits have the index in the cycle.\r\n\r\nWhen the index laps, it looks like the difference is in the trillions.  For monitoring purposes, I think it would be valuable to have a good way of doing this.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/comments/228769805","html_url":"https://github.com/OpenHFT/Chronicle-Queue/issues/149#issuecomment-228769805","issue_url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/149","id":228769805,"user":{"login":"peter-lawrey","id":1070321,"avatar_url":"https://avatars.githubusercontent.com/u/1070321?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-lawrey","html_url":"https://github.com/peter-lawrey","followers_url":"https://api.github.com/users/peter-lawrey/followers","following_url":"https://api.github.com/users/peter-lawrey/following{/other_user}","gists_url":"https://api.github.com/users/peter-lawrey/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-lawrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-lawrey/subscriptions","organizations_url":"https://api.github.com/users/peter-lawrey/orgs","repos_url":"https://api.github.com/users/peter-lawrey/repos","events_url":"https://api.github.com/users/peter-lawrey/events{/privacy}","received_events_url":"https://api.github.com/users/peter-lawrey/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T14:53:49Z","updated_at":"2016-06-27T14:53:49Z","body":"bump.\r\nwe should have better support for this sort of calculations."}}
{"actor":{"display_login":"peter-lawrey"}}