Repeating group best practices for LARGE chat app

Not sure if it is changes in Bubble lately, but my large (50,000+ messages sent already) chat app loads VERY slowly now for repeating group of data.

Chats have an associated channel, which is the page data type. Users also have access to certain channels, which helps with filtering.

I believe the search I have set up for my repeating group is the fastest and “best practice” method, and used to deliver very quick results. Now it takes upwards of 4-5 seconds (!!!) to load a list that is the most recent 50 chats of a channel. Something feels off to me.

Is there anything else I can try to help speed up the search?

Thanks!

Hi there,

Do you have privacy rules setup to limit users to only have access to chats that they’re a part of? This alone would help limit the number of records the search is performing in the repeating group.

1 Like

The most restrictive we can do is where the chat’s channel is in a user’s list of channels. We haven’t implemented this yet, but it’s an option we’ve been considering.

2 Likes