Jump to content

Ajax update in Activity Streams only on "All Activity" ?


Adriano Faria

Recommended Posts

  • Management
Posted

All Activity is all activity sorted by time posted. When you start to introduce other filter options, like unread items, the order is unpredictable. There would be no way to auto-load content because you have no way of knowing if an item that is currently 5 slots down is now suddenly up top or if an item that hasn't been replied to in 3 years is now brand new. It would create a lot of user confusion because the approach is not linear as a human thinks.

Short version: we could do it but it would be very confusing to the user.

Posted

The underlying reason is it's very efficient to check for new items in the All Activity feed. It's expensive (sometimes very expensive) to check for new items on other feeds that have complex filters set up, so we decided to only enable auto-updating on the main All Activity feed. 

Posted

I'm sorry. Can you explain, for example, an AS that mimics the old VNC (topics only) is more resource intensive than ALL other apps installed + status updates + likes + new users + reputation + profile photo change + following + whatever?

Filters? They're there to narrow results. If I have 1000 topics and my AS has 'only I posted', it goes down to 100 results!

Posted

Yes, running a query against 'unread items' for example is generally too intensive to query every few seconds like we do on All Activity (which is just grabbing by an index on date). The flexibility of the streams means people can come up with some really fine-tuned settings, and given we have to support lower-spec servers too, we can't put those on a 5 second timeout.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...