Multiple devices using same auth account for realtime: Session management & limitations? #30658
-
We're developing an multiplatform app that uses Supabase for real-time data synchronization. Our architecture raises some questions about session management and realtime connections: Current Setup:
Key Questions:
Specific Concerns:
We want to ensure our implementation follows best practices and won't cause issues at scale. Any guidance or documentation references would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I don't believe there will be any issues with multiple devices for the same user connecting to realtime. It uses the jwt to manage access, not a user session. Every device will count as a separate connection to realtime. All devices will get the same notifications neglecting any connection errors. I would expect performance to be the similar to that of the same number of connections for different users. |
Beta Was this translation helpful? Give feedback.
I don't believe there will be any issues with multiple devices for the same user connecting to realtime. It uses the jwt to manage access, not a user session. Every device will count as a separate connection to realtime. All devices will get the same notifications neglecting any connection errors. I would expect performance to be the similar to that of the same number of connections for different users.