Detailed performance metrics and analysis for Bifrost running on AWS t3.medium instances (2 vCPUs, 4GB RAM).
Metric | Value | Notes |
---|---|---|
Success Rate | 100.00% | Perfect reliability under high load |
Average Request Size | 0.13 KB | Lightweight request payload |
Average Response Size | 1.37 KB | Standard response size for testing |
Average Latency | 2.12s | Total end-to-end response time |
Peak Memory Usage | 1,312.79 MB | ~33% of available 4GB RAM |
Operation | Latency | Performance Notes |
---|---|---|
Queue Wait Time | 47.13 µs | Time waiting in Bifrost’s internal queue |
Key Selection Time | 16 ns | Weighted API key selection |
Message Formatting | 2.19 µs | Request message preparation |
Params Preparation | 436 ns | Parameter processing |
Request Body Preparation | 2.65 µs | HTTP request body assembly |
JSON Marshaling | 63.47 µs | JSON serialization time |
Request Setup | 6.59 µs | HTTP client configuration |
HTTP Request | 1.56s | Actual provider API call time |
Error Handling | 189 ns | Error processing overhead |
Response Parsing | 11.30 ms | JSON response deserialization |
initial_pool_size
to 7,500-8,000buffer_size
to 12,000-13,000initial_pool_size
to 12,000-13,000buffer_size
to 17,000-18,000Metric | t3.medium | t3.xlarge | Difference |
---|---|---|---|
Bifrost Overhead | 59 µs | 11 µs | +81% slower |
Queue Wait Time | 47.13 µs | 1.67 µs | +96% slower |
JSON Marshaling | 63.47 µs | 26.80 µs | +58% slower |
Response Parsing | 11.30 ms | 2.11 ms | +81% slower |
Memory Usage | 1,312.79 MB | 3,340.44 MB | -61% usage |