aslagle / reactive-table

A reactive table designed for Meteor
https://atmospherejs.com/aslagle/reactive-table
Other
328 stars 138 forks source link

initial table latency #396

Open interfaith opened 8 years ago

interfaith commented 8 years ago

The helper myCollection prints the row count to display, which increases as more is published. However the control does not display the data until the row count remains fixed for some time. ?

Is it possible to force the display to show what it has every few seconds ? as the published data arrives ?

interfaith commented 8 years ago

for the initial display grabbing the data via meteor.call seems to avoid the latency, then for future changes the reactive table collection will update

interfaith commented 8 years ago

if table changes come from an 'external' non meteor app, then the latency is encountered , requiring meteor.call to get the table data to avoid the latency.

aslagle commented 8 years ago

Sorry, I don't know what the problem is. Do you have an example app that will reproduce it?

interfaith commented 8 years ago

I did tests with sample apps normally the update takes about 3 seconds when remote changes are made to the collection. So any faster update must be done by fetching each second.

Fetching just the changes is the trick. Anyway meteor is vague about how they determine when to update the client side collection.

Soon a demo app will be up on line with a JOIN of about 6 tables to compare the speed of JOIN with others such as mysql. Then you will see the latency of the table with respect to new data.

Cheers !

On Sun, Jun 5, 2016 at 4:36 PM, Amy Slagle notifications@github.com wrote:

Sorry, I don't know what the problem is. Do you have an example app that will reproduce it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aslagle/reactive-table/issues/396#issuecomment-223844885, or mute the thread https://github.com/notifications/unsubscribe/AAs5z9XoGABomTdzgolJlVDyVzOYJgnaks5qI12ZgaJpZM4ItFwa .


Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=c3Bvd2FnZTI3NTk%3D