Hello, I am using Openvidu in a project using Spring boot, currently in the tutorials they save all the sessions in a variable I wanted to know if this is the best way to save the sessions.
I currently have an administrative panel where I can see the sessions created through these collections, but sometimes users just close the transmission and the variable that maps the sessions keeps storing all the data. Therefore, sometimes the CPU consumes many resources until it restarts.
I would like to know what can be done in this case, thank you very much.