ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข4y agoโ€ข
15 replies
gesusc

Rapidly firing subscriptions question.

We currently are looking to migrate from Firebase to Supabase but our realtime watchers don't easily map over to Supabase subscriptions due to their limitation of only allowing a single filter.

If we switched to a single subscription but that subscription was on a set of data shared by 1 to many users would there be any concerns if it was constantly firing?

Our app is a collaborative text editing tool so as a user writes in a document those changes are stored on the backend in a single table. As you can imagine if many users are all writing at the same time (with some writing on different documents) data could be constantly being written and if a single client listens to all changes the websocket could be firing non-stop. With a good number of those triggers being for data one client might not even care about based on where they are in the UI. That seems like it would not be ideal but due to the one filter limitation on Supabase subscriptions it's kind of our only options. Unless we switch to polling for changed data which has its own set of complexities.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Paid subscriptions question
SupabaseSSupabase / help-and-questions
4mo ago
onAuthStateChange never firing.
SupabaseSSupabase / help-and-questions
4y ago
Realtime subscriptions not working
SupabaseSSupabase / help-and-questions
8mo ago
Types for channel subscriptions
SupabaseSSupabase / help-and-questions
4y ago