fourtriada.blogg.se

Jitsi video bridge
Jitsi video bridge






We also added an Nginx Prometheus exporter on docker-jitsi-meet docker-compose for monitoring purposes. On this base image, we installed the requirements to run containers with Docker, docker-compose and a node_exporter that is used by our Prometheus monitoring system to know, among other information, the CPU usage of the machine.įrom the base image, we then created a Jitsi image using the official docker compose distribution: docker-jitsi-meet.

jitsi video bridge

In each cloud deployment, instances are booted with a specific cloud image that is designed to meet the specific requirements of the instance.įirst, we created a base image called base, which was the starting point for all the others. When creating an instance, you have to select or create an image. Now we are going to complete this Terraform module by enabling those instances to serve our application. The API instances query the Prometheus to identify what are the CPU usage on all Jitsi servers and return them to the web application. Prometheus scraps the state of each Jitsi state and, in particular, the CPU usage of each Jitsi server. These instances run the Jitsi videoconference solution. At the moment, we created more than 100 of those ( DEV1-L type).

  • The most important are the Jitsi servers.
  • We created all the required instances to make this application run: For that, we used the pg backend in Terraform. To ensure consistency across concurrent Terraform execution, the terraform state is persisted in a Scaleway Database PostgreSQL managed instance. All changes applied to our infrastructure are tracked in a git repository. We decided to use the Scaleway Terraform Provider to manage all our infrastructure from a single versioned place. Terraform is an infrastructure tool that manages cloud resources in a declarative paradigm.

    #JITSI VIDEO BRIDGE CODE#

    Now that we explained the general architecture and the typical user workflow of this application, let's see how it is deployed using infrastructure as code technologies. With that URL, a user can easily connect to the Jitsi server and start enjoying the call with an optimal sound and video quality.Īll Jitsi servers are deployed on Scaleway Elements Instances which can hold a large number of concurrent video bridges. The web application then selects the Jitsi server that has the most CPU available and returns the URL to the user. The stateless API is composed of a front website in React and an API that will query a Prometheus (every 30 seconds) to get a list of all the Jitsi servers available and their current CPU usage. This allows us to ensure that each user is provided with the least-used instance to create a virtual room and start a call.

    jitsi video bridge

    The number of people in need of a scalable videoconference solution being very high at the moment, it was our responsibility to find an alternative that was able to handle a significant load of video bridge requests.Īs shown in the architecture diagram below, all Jitsi instances are constantly monitored to keep track of their capacity. In a nutshell, aims at providing Jitsi servers. By deploying Jitsi Meet, an open-source video conferencing solution providing secured virtual rooms with high video and audio quality, on more than one hundred Scaleway instances, we aimed to facilitate remote communication for all amid the COVID-19 pandemic. Monday 8am we decided to join the collective effort against #COVID19.

    jitsi video bridge

    You will be able to use this solution to keep in touch with your family and friends, maintain your business, interact with your customers, meet your patients or prepare your exams with other students. In the last 48 hours, several Scaleway teams were on the front line to launch, in less than a day, an integral videoconferencing solution: Ensemble.įree, open-source and sovereign, Jitsi VideoConferencing powered by Scaleway will be available for the duration of the Covid-19 crisis!






    Jitsi video bridge