Performance Testing

Benchmarky

Výkonnostní testy, srovnání a performance optimalizace datových systémů s reálnými čísly.

NoSQL benchmark

NoSQL Benchmark: MongoDB vs Cassandra vs DynamoDB

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.

MetrikaMongoDBCassandraDynamoDB
Write throughput45K ops/s120K ops/s80K ops/s
Read latency P958ms12ms5ms
Storage efficiency65%45%70%
Operational complexityNízkáVysokáVelmi nízká
Stream processing

Kafka vs Pulsar: Throughput a Latence

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.

ScenarioKafkaPulsar
Max throughput2.1M msg/s1.8M msg/s
End-to-end latency P9925ms18ms
Storage overhead1.2x1.5x
Multi-tenancyOmezenáNative
OLAP databases

ClickHouse vs Druid vs Pinot: OLAP Showdown

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 TypeClickHouseDruidPinot
Simple aggregation45ms120ms95ms
GroupBy query180ms340ms280ms
Ingestion rate800K/s600K/s1M/s
Storage compression12:18:19:1
Cache performance

Redis vs Memcached vs KeyDB: In-Memory Benchmark

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.

MetrikaRedisMemcachedKeyDB
GET throughput110K ops/s180K ops/s250K ops/s
SET throughput85K ops/s120K ops/s140K ops/s
Memory overhead85%95%87%
Feature richnessVysokáNízkáVysoká