#Realtime Connections Limit

1 messages · Page 1 of 1 (latest)

vale prairie
#

I was wondering what realtime connections limit means.

I am using realtime in my frontend to fetch the status of a task. Let's say a run takes 2 minutes to complete.

Is realtime connection only active if it's visible in the frontend?

Realtime allows you to send the live status and data from your runs to your frontend. This is the number of simultaneous Realtime connections that can be made.

merry carbon
#

@fading valve can confirm this.

I think it means the number of active streams you have running. So if you had 500 users viewing a web page with 1 stream you would be using 500 connections.

fading valve
#

Yea the connection is from the frontend

#

And only while it's actually making a "long-poll" request to get the latest status

vale prairie
#

Ok thanks @fading valve that confirms my assumption.

basically if i always show the status of a run to my user, I want the the realtime connections be same or higher than concurrent run limit as you already have it in the pricing

fading valve
#

And will at most 1 user be viewing the status of the run? Cause if 2 users are viewing the status of a run at the same time that would could as 2 active connections