Medplum high availability and operations

Keeping a self-hosted Medplum available and fast: redundancy, disaster recovery, backups, capacity, monitoring, rate limits and troubleshooting.

Medplum capacity planning and server sizing

Sizing Medplum application servers, PostgreSQL and Redis for expected load: CPU headroom targets, connection pool limits, scaling triggers and right-sizing the database before an incident forces it.

Load testing Medplum with Artillery

Finding a Medplum deployment's limits before go-live: Artillery load and stress scenarios, healthcheck and FHIR workloads, ramp phases, and reading results against database and cache metrics.

Tuning Medplum PostgreSQL parameters with RDS Proxy

Changing PostgreSQL settings under Medplum without downtime: parameter groups through CDK, RDS Proxy for resilient connections, multiple database instances, and the defaults Medplum sets for statement timeout and isolation.

Medplum OpenTelemetry metrics and traces

Turning on Medplum's optional OpenTelemetry support: metrics and traces, collectors and exporters, the AWS Distro for OpenTelemetry route to CloudWatch, and sending data to Prometheus or other backends.

Adding Datadog to Medplum on ECS Fargate

Collecting container metrics from a CDK-deployed Medplum with a Datadog agent sidecar: the additionalContainers setting, required environment variables, storing the API key safely and applying changes with CDK.

Medplum rate limits and FHIR interaction quotas

Setting request rate limits and weighted FHIR quotas on a self-hosted Medplum: server defaults, project and user overrides, quotas for Bots and integrations, the rate limits dashboard and handling 429 responses.

Troubleshooting slow Medplum queries

Finding the cause of slow Medplum requests: auto_explain and pg_stat_statements, GIN index pending lists, queries waiting for pool connections, RTT spikes to PostgreSQL and Redis, and tracing a request across logs.

Medplum super admin tasks for self-hosters

The privileged operations a self-hosted Medplum team runs: the super admin console and CLI, enabling project features such as Bots, async jobs, index configuration and safe handling of super admin credentials.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.