HMAC Performance Benchmarking: Key Findings and Recommendations
Results of benchmarking on HMAC digest calls.
Key Findings:
Throughput with audit log enabled: With auditing enabled, we can achieve 15,000 transactions per second (TPS).
Audit Impact: Disabling audit logging increases throughput to around 25,000 TPS.
Steady Payloads: Payload sizes (50, 100, 150, 200) all hit a consistent average of 25,000 TPS.
CPU Usage: CPU hovers at 90% with this load, an important factor to monitor.
Optimization Tips:
Stay Close: Host your client application near the DSM Cluster region for better performance.
Audit Control: Disable audit logging for the HMAC key to see a positive impact.
Batch It: Optimal throughput with 70-100 payloads in a batch.
Time Smart: Avoid peak crypto activity to keep CPU load in check.
Quick Benchmarks:
50 payloads: 490 TPS (24,500 payload/sec)
100 payloads: 250 TPS (25,000 payload/sec)
150 payloads: 170 TPS (25,500 payload/sec)
200 payloads: 128 TPS (25,600 payload/sec)
Comments
Please sign in to leave a comment.