@Arcaik @peertube PeerTube uses multiple cores. NodeJS can use multiple threads using worker threads: https://nodejs.org/api/worker_threads.html
Conversation
Notices
-
Chocobozzz (chocobozzz@framapiaf.org)'s status on Friday, 22-Dec-2023 12:15:35 UTC Chocobozzz - Santa Claes πΈπͺππ°π likes this.
-
Arcaik (arcaik@hachyderm.io)'s status on Friday, 22-Dec-2023 12:15:41 UTC Arcaik @peertube PeerTube is single threaded (well, node is), is there a point in giving it more than 2 vCPUs?
I guess it's for transcoding, but with remote runners you could start a big ass VM on demand. It would help reduce costs.
In conversation permalink -
PeerTube (peertube@framapiaf.org)'s status on Friday, 22-Dec-2023 12:15:44 UTC PeerTube We tried to simulate 1000 viewers on a #PeerTube video, and then on a livestream. (Note that 99% of twitch livestreams are under 1000 simultaneous views.)
We optimized accordingly... And here are the results: it works!
With a ~20$ server, PeerTube can now support such usecases.
Read all about these stress tests on our blog : https://joinpeertube.org/news/stress-test-2023
In conversation permalink Attachments