Closed itsmishra19 closed 2 years ago
If you shard instances properly, I'm sure this can handle 30k connections. Of course it won't be able to run that on a single instance unless you have a crazy core count and your machine is juiced like crazy. I would love for some more extreme numbers if people are able to provide!
I have a dedicated server of 128GB and 32 cores CPU. I currently have around ~1k-2.1k
players, and yes Ipv6 block is really necessary for a bot of this scale IPV4 will not survive.
If all of that is on a single instance, I can see how a single ipv4 would not survive. I'll see what I can do regarding ipv6.
I'm confident in the ability of Volcano based on the numbers I have now, but the number 30k makes me a bit skeptical if almost 1k players would be spawned on each thread. Volcano itself could probably handle that no problem, but Volcano also pipes audio through ffmpeg to allow for volume transforming and that might be the killer. I'll look into alternatives for this and release an update including ipv6 support for what you requested if possible and also less usage of ffmpeg unless the track isn't opus encoded or you need op filters
If all of that is on a single instance, I can see how a single ipv4 would not survive. I'll see what I can do regarding ipv6.
I'm confident in the ability of Volcano based on the numbers I have now, but the number 30k makes me a bit skeptical if almost 1k players would be spawned on each thread. Volcano itself could probably handle that no problem, but Volcano also pipes audio through ffmpeg to allow for volume transforming and that might be the killer. I'll look into alternatives for this and release an update including ipv6 support for what you requested if possible and also less usage of ffmpeg unless the track isn't opus encoded or you need op filters
I run 5 instances of lavalink and also my volume and filters are premium locked but I give trials for 1.5 hour so it shouldn't be a big problem.
Volume transforming is still done regardless of what operations are being called, so ffmpeg will spawn for each player which is why I brought it up. Good to know that filters won't be a huge concern though. I am not smart enough to implement js native transforming to such a degree
Volume transforming is still done regardless of what operations are being called, so ffmpeg will spawn for each player which is why I brought it up. Good to know that filters won't be a huge concern though. I am not smart enough to implement js native transforming to such a degree
So when a track is played there are some volume operations regardless of any modifications to volume?
This is being closed as further details have been discussed in DMs and Volcano will mature into something that will cover concerns brought up in the future.
Hey,
I am Rajat Mishra, I was looking for alternatives to Lavalink because I don't like JVM eating a lot of memory, I still prefer space complexity over time complexity because it's cheaper to run applications that use high memory rather than running applications that require a lot of CPU power. So I wanted a few clarifications from you.
I need something that can handle
~3K
active connections and at a reasonable resource usage.Thank You