{"action":"created","issue":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/504","repository_url":"https://api.github.com/repos/apollostack/apollo-client","labels_url":"https://api.github.com/repos/apollostack/apollo-client/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/apollo-client/issues/504/comments","events_url":"https://api.github.com/repos/apollostack/apollo-client/issues/504/events","html_url":"https://github.com/apollostack/apollo-client/issues/504","id":169232131,"number":504,"title":"Polling data effectivelly","user":{"login":"tomitrescak","id":2682705,"avatar_url":"https://avatars.githubusercontent.com/u/2682705?v=3","gravatar_id":"","url":"https://api.github.com/users/tomitrescak","html_url":"https://github.com/tomitrescak","followers_url":"https://api.github.com/users/tomitrescak/followers","following_url":"https://api.github.com/users/tomitrescak/following{/other_user}","gists_url":"https://api.github.com/users/tomitrescak/gists{/gist_id}","starred_url":"https://api.github.com/users/tomitrescak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomitrescak/subscriptions","organizations_url":"https://api.github.com/users/tomitrescak/orgs","repos_url":"https://api.github.com/users/tomitrescak/repos","events_url":"https://api.github.com/users/tomitrescak/events{/privacy}","received_events_url":"https://api.github.com/users/tomitrescak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-03T20:57:28Z","updated_at":"2016-08-16T04:22:38Z","closed_at":null,"body":"Hi, I need to display specific data from a table and I want to reactively display when data is added, changed or removed. With Apollo this is possible with polling, yet after coming from Meteor subscription mechanism and OPLoG optimisation I have a mental problem with this approach.\r\n\r\nDoes Apollo get All data at every poll, or is there any optimisation mechanism in place? I tried only obtaining data which have a newer modification timestamp that a provided threshold, but that's enters page only with new data.\r\n\r\nSo, my question would be:\r\n\r\n1. Is it possible to obtain the data reactively and merged with Apollo store?\r\n2. If not, how can I approach this incremental change  in Apollo store?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/comments/239997654","html_url":"https://github.com/apollostack/apollo-client/issues/504#issuecomment-239997654","issue_url":"https://api.github.com/repos/apollostack/apollo-client/issues/504","id":239997654,"user":{"login":"stubailo","id":448783,"avatar_url":"https://avatars.githubusercontent.com/u/448783?v=3","gravatar_id":"","url":"https://api.github.com/users/stubailo","html_url":"https://github.com/stubailo","followers_url":"https://api.github.com/users/stubailo/followers","following_url":"https://api.github.com/users/stubailo/following{/other_user}","gists_url":"https://api.github.com/users/stubailo/gists{/gist_id}","starred_url":"https://api.github.com/users/stubailo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubailo/subscriptions","organizations_url":"https://api.github.com/users/stubailo/orgs","repos_url":"https://api.github.com/users/stubailo/repos","events_url":"https://api.github.com/users/stubailo/events{/privacy}","received_events_url":"https://api.github.com/users/stubailo/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T04:22:38Z","updated_at":"2016-08-16T04:22:38Z","body":"Here's how you use it, perhaps the documentation wasn't there yet when you were asking about it, or you didn't think to look under \"pagination\": http://docs.apollostack.com/apollo-client/pagination.html#fetch-more-new-query\r\n\r\nThis isn't as nice to use for polling, because it's designed for imperative stuff like pagination.\r\n\r\nRight now, reactivity on added/changed/removed data from lists is where Meteor is _heavily_ optimized - I doubt you'll find a better implementation of that mechanism almost anywhere else. Apollo doesn't claim to be nearly as good at that particular issue.\r\n\r\nOne thing we're currently working on is realtime subscriptions, which will let you push events to the client when you know something might change the list you are looking at."}}
{"actor":{"display_login":"stubailo"}}