Speed problems with activity stream

2 years 4 months ago #326983 by Karlosgermany
Speed problems with activity stream was created by Karlosgermany
Due to the large number of posts, it takes longer and longer to open the page with the activity stream. How can I solve this problem. Is there a way to split the stream over several pages to reduce the amount of data that needs to be opened. Or are there other solutions?

Please Log in to join the conversation.

2 years 4 months ago #326989 by beat
Replied by beat on topic Speed problems with activity stream
If it can wait a few weeks, I would recommend looking forward to the next major version of Activity streams which is a major speed-up:
www.joomlapolis.com/blog/kyle/18950-what-am-i-working-on-16

In the mean time, you can check your CB Activity - Settings - Parameters - Activity - Paging limits (default is 30 and 30). and in Display maybe disable Auto Load.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

2 years 4 months ago - 2 years 4 months ago #326999 by Karlosgermany
Replied by Karlosgermany on topic Speed problems with activity stream
Excellent news.....sure, we will wait. Thanks in advance

Please Log in to join the conversation.

2 years 4 months ago - 2 years 4 months ago #327108 by krileon
Replied by krileon on topic Speed problems with activity stream
Speed should not be a major issue even with current releases. The current release of CB Activity has been performance tested against over 1 million database entries for all CB Activity tables (activity, comments, likes, and hidden entries). How slow is it loading for you? Additionally as Beat provided CB Activity 6.0.0 is bringing even more performance improvements.

Currently the main thing that can slow CB Activity is CB Privacy on the Recent Activity page. When used it checks privacy of each activity entry before display as there isn't an optimized way to do this from SQL yet (likely still won't be in 6.0.0 until CB Privacy is redesigned). So for example a user with 50 posts set to private is output to Recent Activity this results in CB Activity removing all 50 posts and trying to fetch more, but what happens if that happens again? It just keeps going until it can find at least 1 page of posts. It can be a problem. In cases where you need strict privacy I HIGHLY recommend NOT using Recent Activity page.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.190 seconds

Facebook Twitter LinkedIn