Bifrost has been tested under high load conditions to ensure optimal performance. The following results were obtained from benchmark tests running at 5000 requests per second (RPS) on different AWS EC2 instances.
Metric | t3.medium | t3.xlarge |
---|---|---|
Success Rate | 100.00% | 100.00% |
Average Request Size | 0.13 KB | 0.13 KB |
Average Response Size | 1.37 KB | 10.32 KB |
Average Latency | 2.12s | 1.61s |
Peak Memory Usage | 1312.79 MB | 3340.44 MB |
Queue Wait Time | 47.13 µs | 1.67 µs |
Key Selection Time | 16 ns | 10 ns |
Message Formatting | 2.19 µs | 2.11 µs |
Params Preparation | 436 ns | 417 ns |
Request Body Preparation | 2.65 µs | 2.36 µs |
JSON Marshaling | 63.47 µs | 26.80 µs |
Request Setup | 6.59 µs | 7.17 µs |
HTTP Request | 1.56s | 1.50s |
Error Handling | 189 ns | 162 ns |
Response Parsing | 11.30 ms | 2.11 ms |
Bifrost’s Overhead | 59 µs\* | 11 µs\* |