Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Build rate limiter engine
·
Module 9
Performance Benchmarking and Load Testing
1
Setting Up JMH for Performance Analysis
Set up the Java Microbenchmark Harness (JMH) for algorithm performance analysis.
2
Benchmarking In-Memory Throughput Under Contention with JMH
Write a JMH benchmark to compare the throughput of in-memory implementations under contention.
Concurrent Load Testing with ExecutorService
Implement a load test utility using ExecutorService to send concurrent requests.
4
In-Memory vs. Redis Limiters: Throughput and Latency Comparison
Measure and compare the throughput and latency of in-memory vs. Redis-based limiters.
5
Understanding Latency Percentiles (p50, p95, p99)
Calculate and interpret latency percentiles (p50, p95, p99) from test results.
6
Verifying HTTP Response Counts Under Load
Write assertions verifying that HTTP 200 and 429 response counts match configured limits under load.
Previous module
Dynamic Configuration with YAML
Next module
Observability and Production Readiness