Výkonnostní testy, srovnání a performance optimalizace datových systémů s reálnými čísly.
Kompletní performance test na stejném datasetu (100M records, 1TB data). Hardware: AWS i3.4xlarge (16 vCPU, 122GB RAM, NVMe SSD). Workload: 70% reads, 30% writes, replication factor 3. Testujeme: write throughput (inserts/sec), read latency (P50, P95, P99), scan performance, concurrent connections handling, failover recovery time.
| Metrika | MongoDB | Cassandra | DynamoDB |
|---|---|---|---|
| Write throughput | 45K ops/s | 120K ops/s | 80K ops/s |
| Read latency P95 | 8ms | 12ms | 5ms |
| Storage efficiency | 65% | 45% | 70% |
| Operational complexity | Nízká | Vysoká | Velmi nízká |
Srovnání Apache Kafka 3.6 vs Apache Pulsar 3.1 na stejné infrastruktuře (3-node cluster, 10GbE network). Message size: 1KB, replication: 3, durability: fsync enabled. Testujeme různé scenarios: sustained throughput, burst handling, consumer lag recovery, geo-replication overhead.
| Scenario | Kafka | Pulsar |
|---|---|---|
| Max throughput | 2.1M msg/s | 1.8M msg/s |
| End-to-end latency P99 | 25ms | 18ms |
| Storage overhead | 1.2x | 1.5x |
| Multi-tenancy | Omezená | Native |
Real-time OLAP databases comparison na time-series workload (1B events, 365 days retention). Query patterns: aggregations, time-range scans, multi-dimensional drill-downs. Infrastructure: 5-node cluster, 256GB RAM/node.
| Query Type | ClickHouse | Druid | Pinot |
|---|---|---|---|
| Simple aggregation | 45ms | 120ms | 95ms |
| GroupBy query | 180ms | 340ms | 280ms |
| Ingestion rate | 800K/s | 600K/s | 1M/s |
| Storage compression | 12:1 | 8:1 | 9:1 |
Performance comparison pro cache use-case. Dataset: 10M keys, value size 1KB. Operations: 80% GET, 20% SET. Single-threaded vs multi-threaded performance, persistence overhead, memory efficiency.
| Metrika | Redis | Memcached | KeyDB |
|---|---|---|---|
| GET throughput | 110K ops/s | 180K ops/s | 250K ops/s |
| SET throughput | 85K ops/s | 120K ops/s | 140K ops/s |
| Memory overhead | 85% | 95% | 87% |
| Feature richness | Vysoká | Nízká | Vysoká |