Viewer Limit

30 views
Skip to first unread message

Ankit Pati

unread,
Apr 16, 2020, 1:01:24 PM4/16/20
to tmate.io
Hello, all.
Is there any upper limit to the number of viewers for a single tmate session?

I googled around for a bit, and even scoured the docs, but to no avail. Can it support, for example, a hundred viewers? A thousand? A million? There has to be an upper limit somewhere, right?

~ankitpati

Nicolas Viennot

unread,
Apr 16, 2020, 1:16:16 PM4/16/20
to Ankit Pati, tmate.io
I haven't tried to see what the limit was. Eventually the server will run out of memory and that'll be it.
I don't really know, but I'm guessing not more than 100.

--
You received this message because you are subscribed to the Google Groups "tmate.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmate-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmate-io/9c5da7ec-2009-4f5e-8445-2311cbeb205f%40googlegroups.com.

Ankit Pati

unread,
Apr 16, 2020, 1:20:54 PM4/16/20
to tmate.io
What about the public tmate.io server? Will that also “run out of memory”? I guess/hope not.

~ankitpati


On Thursday, 16 April 2020 22:46:16 UTC+5:30, Nicolas Viennot wrote:
I haven't tried to see what the limit was. Eventually the server will run out of memory and that'll be it.
I don't really know, but I'm guessing not more than 100.

On Thu, Apr 16, 2020, 13:01 Ankit Pati <ankit...@gmail.com> wrote:
Hello, all.
Is there any upper limit to the number of viewers for a single tmate session?

I googled around for a bit, and even scoured the docs, but to no avail. Can it support, for example, a hundred viewers? A thousand? A million? There has to be an upper limit somewhere, right?

~ankitpati

--
You received this message because you are subscribed to the Google Groups "tmate.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmat...@googlegroups.com.

Nicolas Viennot

unread,
Apr 16, 2020, 1:22:26 PM4/16/20
to Ankit Pati, tmate.io
It will. I don't have any autoscale in place.
Right now, anyone can DoS the public servers.
Remember that I'm doing this out of my free time, for free.

To unsubscribe from this group and stop receiving emails from it, send an email to tmate-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmate-io/39914bd9-381b-485a-a13a-d08245c4adca%40googlegroups.com.

Ankit Pati

unread,
Apr 16, 2020, 1:35:10 PM4/16/20
to tmate.io
Thank you for the amazing software you write, and the amazing tool you have turned it into by hosting it as well.

I just wanted to know where its limits are. I was exploring its use as a screen-sharing replacement for a tech-savvy audience of 150 students, but it doesn’t seem possible with the public instances, at least.

If memory is the only constraint, I can perhaps spin up an m3.2xlarge EC2 instance. Would it suffice for ~200 connections?

I don't really know, but I'm guessing not more than 100.
Or, if you permit, I can help you find out! ;)

~ankitpati

On Thursday, 16 April 2020 22:52:26 UTC+5:30, Nicolas Viennot wrote:
It will. I don't have any autoscale in place.
Right now, anyone can DoS the public servers.
Remember that I'm doing this out of my free time, for free.

On Thu, Apr 16, 2020, 13:20 Ankit Pati <ankit...@gmail.com> wrote:
What about the public tmate.io server? Will that also “run out of memory”? I guess/hope not.

~ankitpati

On Thursday, 16 April 2020 22:46:16 UTC+5:30, Nicolas Viennot wrote:
I haven't tried to see what the limit was. Eventually the server will run out of memory and that'll be it.
I don't really know, but I'm guessing not more than 100.

On Thu, Apr 16, 2020, 13:01 Ankit Pati <ankit...@gmail.com> wrote:
Hello, all.
Is there any upper limit to the number of viewers for a single tmate session?

I googled around for a bit, and even scoured the docs, but to no avail. Can it support, for example, a hundred viewers? A thousand? A million? There has to be an upper limit somewhere, right?

~ankitpati

--
You received this message because you are subscribed to the Google Groups "tmate.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmat...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmate-io/9c5da7ec-2009-4f5e-8445-2311cbeb205f%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "tmate.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmat...@googlegroups.com.

Nicolas Viennot

unread,
Apr 16, 2020, 1:45:58 PM4/16/20
to Ankit Pati, tmate.io
You're welcome :)

Yes you can try to spawn a lot of clients and see how it goes

To unsubscribe from this group and stop receiving emails from it, send an email to tmate-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmate-io/276891f2-a55b-4bf1-ab99-8f625c65b1fd%40googlegroups.com.

Ankit Pati

unread,
Apr 16, 2020, 1:49:33 PM4/16/20
to tmate.io
Great, thanks.

I’ll try it once, first, and if it works fine, I may actually just use it as a Zoom replacement.

If it doesn’t work out, I’ll let you know, and never try it on the public instances again.

~ankitpati

Nicolas Viennot

unread,
Apr 16, 2020, 1:50:21 PM4/16/20
to Ankit Pati, tmate.io
Sounds good, let me know what you find out

To unsubscribe from this group and stop receiving emails from it, send an email to tmate-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmate-io/f63482ed-78fc-431b-82ce-296349463288%40googlegroups.com.

Ankit Pati

unread,
Apr 20, 2020, 6:25:03 AM4/20/20
to tmate.io
Hello, Nicolas.
I tried it out live in the session, but there were not as many participants as expected. However, tmate.io perfectly handled the 60-odd students who did turn up, and was a lot smoother than similar WebEx screen sharing sessions I’ve had in the past.

The session took place on 18 April 2020, between 09:00 to 10:00 hours UTC, if you wish to analyse the logs from back then.

Somehow I feel a hundred students will not choke up the servers, considering I faced absolutely zero issues with an audience of sixty.

Anyways, thank you for the amazing app (both client and server), and the prompt responses to my questions and concerns!

~ankitpati

Nicolas Viennot

unread,
Apr 20, 2020, 10:15:51 AM4/20/20
to Ankit Pati, tmate.io
Thank you for reporting.
I'm glad it went well!
I don't really see any visible spikes on the time of use. It is likely that the tmate servers can handle a lot more load

Thanks,
Nico

To unsubscribe from this group and stop receiving emails from it, send an email to tmate-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmate-io/48287383-abaf-439e-a681-dae9639b89ed%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages