Benchmark demonstrating throughput of Redpanda's Microsoft SQL Server CDC Connector
- Install local sqlcmd:
brew install sqlcmd- Create underlying test tables
task sqlcmd:create- Add desired test data using one or all of below task commands:
task sqlcmd:data:products
task sqlcmd:data:cart
task sqlcmd:data:users- Run Connect with the SQL Server CDC component configured (see
benchmark_config.yaml)
go run ../../../../cmd/redpanda-connect/main.go run ./benchmark_config.yaml- Clear checkpoint cache after each run
task sqlcmd:drop-cacheThis will:
- Start Microsoft SQL Server container and Redpanda Connect
- Create database and generate test data
- Display throughput logs
INFO rolling stats: 91733 msg/sec, 123 MB/sec @service=redpanda-connect bytes/sec=1.22793538e+08 label="" msg/sec=91733 path=root.output.processors.0
INFO rolling stats: 101267 msg/sec, 136 MB/sec @service=redpanda-connect bytes/sec=1.35555936e+08 label="" msg/sec=101267 path=root.output.processors.0
INFO rolling stats: 102000 msg/sec, 136 MB/sec @service=redpanda-connect bytes/sec=1.36537118e+08 label="" msg/sec=102000 path=root.output.processors.0
INFO rolling stats: 104000 msg/sec, 139 MB/sec @service=redpanda-connect bytes/sec=1.39214558e+08 label="" msg/sec=104000 path=root.output.processors.0
INFO rolling stats: 102000 msg/sec, 136 MB/sec @service=redpanda-connect bytes/sec=1.36537106e+08 label="" msg/sec=102000 path=root.output.processors.0
After running the benchmark, record your results in docs/benchmark-results/mssqlserver-cdc.md. Append a new dated section with environment details, dataset, throughput numbers, and observations. See docs/benchmarking.md for the full guide.