Christian Chevalley discussed scaling up an openEHR CDR system to handle large volumes of EHR data. Some key points:
- The system was migrated to use EHRbase to handle over 10 million EHRs with over 10 billion compositions.
- Performance optimizations included performing all CRUD and query transactions in a single database transaction to minimize overhead.
- The system was benchmarked using a PostgreSQL cluster handling 650,000 EHRs with query response times under 1ms.
- For further scaling, distributing the transaction load across a "hyperscale" database cluster like Citus or YugabyteDB was recommended over a simple "dumb" database cluster.