help regarding railway plans for discord bot
popeye720
FREEOP

2 months ago

Hi Railway team 👋

I’ve deployed a Discord bot on Railway and would love some guidance on choosing the right plan.

About the bot:
• Written in Python (discord.py 2.4)
• Uses MongoDB for persistent storage
• Modular cog-based architecture (30+ cogs)
• Includes music features (Wavelink + Lavalink)
• Uses yt-dlp, aiohttp, background schedulers, feeds, auto systems
• Target scale: 50–100 Discord servers initially

The bot is always online and handles:
• Voice connections
• Background tasks
• Database operations
• External API calls

I want a plan that:
• Is stable (no frequent restarts)
• Can handle moderate CPU + RAM usage
• Works well for 24/7 Discord bots
• Is cost-efficient for early-stage scaling

Could you please suggest:
1) Which Railway plan would be most suitable?
2) Recommended RAM / vCPU for this workload?
3) Any best practices for Discord bots on Railway?

Looking forward to your recommendation.

2 Replies

ryanhaticus
PRO

2 months ago

The Pro Plan offers up to 32 GB RAM and 32 GB vCPU per service. If you use sharding to handle load, this could be a great option you could scale with.


Railway only charges you for the ram/cpu that you use
You only set the limits


Loading...