Jump to content

Hosting Discord Bots

DeanJ

Hello,

 

I wanted to ask about how much RAM is enough to put on a VPS to run 5+ Discord bots? Considering I will also need a MySQL database.

 

I never really used a VPS and I am new to this concept.

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Slottr said:

REALLY depends on what these bots are doing.

I was planning to have (Discord.py):

1 bot handling security, authentication

1 bot for administrative purposes such as giving roles, creating events in general 

1 bot for Music and Entertainment purposes

 

So a total of 3 bots

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, distance said:

I was planning to have (Discord.py):

1 bot handling security, authentication

1 bot for administrative purposes such as giving roles, creating events in general 

1 bot for Music and Entertainment purposes

 

So a total of 3 bots

You could try running them in a virtual machine like VirtualBox, to see how much memory they need to run. A VPS is exactly the same thing, just hosted by someone else. Run a VM, run the bots for some hours/days with simulated traffic and observe their memory consumption. The first two don't sound too memory intensive to me, but the developer (you?) probably has a better understanding of how much memory they require.

 

A MySQL database will use whatever memory you throw at it, but it depends on how much data you expect the database to contain, to estimate how little you can get away with. The recommended  absolute minimum would be around 512 MB. Add some memory for the bots and the OS and you'd probably want at least 1 GB.

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

Well, which ones exactly? Code should have some doc to mention requirements.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

If they're just running on one discord server I wouldn't expect a whole lot.

 

I'd suggest just starting off with the smallest vps you can find (500mb or 1gb), most decent places have the ability to scale up as you go (but not necesarily down), then just keep on eye on usage as you start them up.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×