If you are using Concurrent.physical_processor_count or Concurrent.processor_count to set your Puma/Unicorn worker counts, that is wrong.
Use Concurrent.available_processor_count. It takes into account cpu quotas in envs like k8s/docker.
If you are using Concurrent.physical_processor_count or Concurrent.processor_count to set your Puma/Unicorn worker counts, that is wrong.
Use Concurrent.available_processor_count. It takes into account cpu quotas in envs like k8s/docker.
Normally Datadog is an absolute moneypit, but their Database Monitoring product is an incredible value at $70/mo.
It's a supercharged AWS Performance Insights dashboard, but far more useful and integrated with the rest of DD. Price doesn't change if you've got a 192 core DB.