Hi Team, I have recently started using StarRocks a...
# questions-and-troubleshooting
y
Hi Team, I have recently started using StarRocks and I’m very impressed with its performance in terms of data ingestion and analytics. However, I have some budget constraints and would like to manage the infrastructure at a lower cost. Currently, I am running StarRocks on a single EC2 instance (8 vCPUs, 32 GB RAM, 350 GB GP3 storage) with both 1 FE and 1 BE. All BI queries are executing in under 1 second, and occasionally in a few seconds. I am using this setup for three different products, each with its own schema containing multiple tables (with no current relationships, though relationships could be added later). Across these schemas, the data may eventually grow to around 1 billion rows in total. My questions are: 1. With a single node running both FE and BE, is this setup manageable for a production environment? StarRocks recommends at least 3 FEs and 3 BEs for production, but I’m not clear on the exact scale of data that requires such a setup. 2. I am already taking daily snapshots for backup and recovery purposes. Is that sufficient for now, or would you recommend additional measures? 3. Would it be beneficial to split my current instance into three smaller ones, such as: ◦ FE: 2 vCPUs, 8 GB RAM ◦ BE1: 4 vCPUs, 16 GB RAM ◦ BE2: 4 vCPUs, 16 GB RAM 4. If I reduce CPU resources per BE but run them on multiple instances, could that improve performance and stability for production? 5. Does StarRocks risk occasional crashes in a single-node setup, and is setting up HA strongly recommended in this case? I would appreciate your guidance on whether my current setup is sufficient or if I should consider restructuring for better production readiness.
d
if this FE is down or this BE is down, the service will be down, that's why you need multiple FE/BE
y
Thanks for your advise.. 1. Would it be beneficial to split my current instance into three smaller ones, such as: ◦ FE 1, FE2, FE3 : 2 vCPUs, 2 GB RAM ◦ BE1: 4 vCPUs, 16 GB RAM ◦ BE2: 4 vCPUs, 16 GB RAM