We just deployed both the metadata service and the...
# ask-metaflow
u
We just deployed both the metadata service and the UI service. We have a logical replica of the metadata db set up so that the UI service does not read from the primary db directly. We are wondering if there's a recommended ECS task count for the UI service? Right now we have 5 tasks running, task CPU of .25 vCPU and task memory of 0.5 GB and the service is completely overloaded (> 98% memory usage). Thank you!
1
u
cc @User
f
I think you'll be better off bumping up the resources per task a bit more before worrying about scaling the number of tasks In the cloudformation example stack they use 4 CPU / 16GB RAM, and in the terraform example stack they use 2 CPU / 16GB RAM. Anecdotally, I've been using 4 CPU / 16GB RAM, autoscaling the number of tasks between 1-10, with the policy metric targeting 40% average memory utilization – this has worked well for a decently sized organization in my experience
u
thank you @fresh-laptop-72652 I'll try that
🚀 1