{"action":"created","issue":{"url":"https://api.github.com/repos/CopticScriptorium/cts/issues/23","labels_url":"https://api.github.com/repos/CopticScriptorium/cts/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/CopticScriptorium/cts/issues/23/comments","events_url":"https://api.github.com/repos/CopticScriptorium/cts/issues/23/events","html_url":"https://github.com/CopticScriptorium/cts/issues/23","id":61283846,"number":23,"title":"Instead of creating new ingest, simply expire current ingest","user":{"login":"lukehollis","id":2633382,"avatar_url":"https://avatars.githubusercontent.com/u/2633382?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehollis","html_url":"https://github.com/lukehollis","followers_url":"https://api.github.com/users/lukehollis/followers","following_url":"https://api.github.com/users/lukehollis/following{/other_user}","gists_url":"https://api.github.com/users/lukehollis/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehollis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehollis/subscriptions","organizations_url":"https://api.github.com/users/lukehollis/orgs","repos_url":"https://api.github.com/users/lukehollis/repos","events_url":"https://api.github.com/users/lukehollis/events{/privacy}","received_events_url":"https://api.github.com/users/lukehollis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CopticScriptorium/cts/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/CopticScriptorium/cts/labels/Final%20Review%20/%20Ready%20to%20Close","name":"Final Review / Ready to Close","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"lukehollis","id":2633382,"avatar_url":"https://avatars.githubusercontent.com/u/2633382?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehollis","html_url":"https://github.com/lukehollis","followers_url":"https://api.github.com/users/lukehollis/followers","following_url":"https://api.github.com/users/lukehollis/following{/other_user}","gists_url":"https://api.github.com/users/lukehollis/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehollis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehollis/subscriptions","organizations_url":"https://api.github.com/users/lukehollis/orgs","repos_url":"https://api.github.com/users/lukehollis/repos","events_url":"https://api.github.com/users/lukehollis/events{/privacy}","received_events_url":"https://api.github.com/users/lukehollis/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-03-13T22:39:38Z","updated_at":"2015-05-14T16:43:44Z","closed_at":null,"body":"If ingest is expired, when a user requests a text, update it in cache. "},"comment":{"url":"https://api.github.com/repos/CopticScriptorium/cts/issues/comments/102098651","html_url":"https://github.com/CopticScriptorium/cts/issues/23#issuecomment-102098651","issue_url":"https://api.github.com/repos/CopticScriptorium/cts/issues/23","id":102098651,"user":{"login":"amir-zeldes","id":2188635,"avatar_url":"https://avatars.githubusercontent.com/u/2188635?v=3","gravatar_id":"","url":"https://api.github.com/users/amir-zeldes","html_url":"https://github.com/amir-zeldes","followers_url":"https://api.github.com/users/amir-zeldes/followers","following_url":"https://api.github.com/users/amir-zeldes/following{/other_user}","gists_url":"https://api.github.com/users/amir-zeldes/gists{/gist_id}","starred_url":"https://api.github.com/users/amir-zeldes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amir-zeldes/subscriptions","organizations_url":"https://api.github.com/users/amir-zeldes/orgs","repos_url":"https://api.github.com/users/amir-zeldes/repos","events_url":"https://api.github.com/users/amir-zeldes/events{/privacy}","received_events_url":"https://api.github.com/users/amir-zeldes/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T16:43:44Z","updated_at":"2015-05-14T16:43:44Z","body":"I’m not clear on this – I thought we wanted to use expiration precisely because of ANNIS performance. This way, the data is only loaded after an update on demand, whenever someone happens to access, say 1 Corinthians 5, and the repo sees there’s a new version to load (and subsequently cache for next time). The alternative not using expiration is, after each update to query ANNIS for every single visualization of every single document, which puts an unnecessary load on the ANNIS server. That makes expiration sound better, or am I missing something?\n\n \n\nFrom: Luke Hollis [mailto:notifications@github.com] \nSent: Thursday, May 14, 2015 11:05\nTo: CopticScriptorium/cts\nCc: Amir Zeldes\nSubject: Re: [cts] Instead of creating new ingest, simply expire current ingest (#23)\n\n \n\nTo follow up quickly here, it was decided that the HTML should not be loaded in an iframe or external window as mentioned in the previous comment because that would add an additional load on the ANNIS server and the vaadin client is somewhat slow to load the visualizations. Until vaadin can serve HTML without executing client-side javascript, it seems like implementing an expiration for the current ingest as we were discussing here won't be scalable/sustainable. \n\n—\nReply to this email directly or view it on GitHub <https://github.com/CopticScriptorium/cts/issues/23#issuecomment-102065650> .Image removed by sender.\n\n"}}