# Stellar Benchmarks

### RPC Method Tested

`getLatestLedger`

### Flood Command

`echo "POST {endpoint}" | vegeta attack -body=payload.json -header="Content-Type: application/json" -rate={100,500} -duration=60s | tee results.bin | vegeta report`

### **Benchmark Summary**

The `getLatestLedger` RPC method tested on Stellar nodes provided by Nodies demonstrates excellent performance across varying load levels. At moderate traffic rates (100–1,000 rps), P99 latency remains under 30ms, ensuring quick and reliable responses. At higher loads (2,500 rps), P99 latency increases to 60ms, which is still very efficient for handling demanding blockchain workloads, with P50 and P90 latencies remaining consistent.

Even under extreme load (5,000 rps), Nodies’ Stellar nodes maintain stable P50 and P90 latencies, with P99 latency rising modestly to 66ms. These results confirm the robustness of Nodies’ infrastructure for Stellar, showcasing the ability to efficiently handle high traffic while maintaining strong performance.

### Latency Benchmarks

**Metrics**: Percentile latencies (in ms), against load rates (100, 1000, 2500, and 5000 rps).

| Rate (rps) | P50 Latency | P90 Latency | P99 Latency |
| ---------- | ----------- | ----------- | ----------- |
| 100        | 17.251      | 20.181      | 25.962      |
| 1,000      | 18.591      | 22.982      | 27.840      |
| 2,500      | 20.782      | 21.128      | 60.201      |
| 5,000      | 20.952      | 30.568      | 65.992      |
