!𝓩𝓮𝓴𝓱𝓪𝓹
!𝓩𝓮𝓴𝓱𝓪𝓹
DIAdiscord.js - Imagine an app
Created by !𝓩𝓮𝓴𝓱𝓪𝓹 on 10/12/2023 in #djs-questions
Vertical & Horizontal Scale question
Hello. I just need maybe some hints for this. I know you can have Clusters(per core) and inside those there is Shards(2000 guilds/ea) So what if those become full right, then i need to scale computers or more like containers in docker(or whatever you use) Right now i have a container for my website + rest api MongoDB - Store data like guild Redis - Cache() and messaging channel(maybe i want to send something to the website live) So to scale the containers on the docker do i need to have like a master than checks if all my clusters is full and then it should create a new container. But then i basically start another bot which i cant cause the bot is already running right? Also is it possible that when the new container starts it allocating automatically?
8 replies