Leave Tab Open - Come back later - SLOW?


#1

Hi all, I’m running an MMO with Meteor at www.StarCommanderOnline.com

When a user first connects, everything is great! Smooth, happy data subscriptions.

When I either go AFK a bit, or switch tabs a while, my data subscription has slowed down.

I MUST refresh the browser to get data subscriptions back to normal.

Any idea what’s going on?


#2

i’m interested with this as well


#3

In Chrome you have background tab throttling

More info here:


#4

I’m aware of background tab throttling… but when that tab comes back in to FOCUS - everything is still really slow.


#5

I have the solution to this problem.

meteor install mizzao:user-status

Go through the package docs,

I have a function to resubscribe the data after a long idle to tab refocus. Kinda bummy that it needs to be done, but it’s fixed my app.