Skip to content
Fourohtwo

Latency, origin load and monthly cost savings from a cache hit ratio

saylorinnovations.com/api/infra/cache-savings

Latency, origin load and monthly cost savings from a cache hit ratio

SolanaUnchecked
GEThttps://saylorinnovations.com/api/infra/cache-savings

UptimeNot checked yet

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/infra/cache-savings?cache_latency_ms=3&hit_ratio_percent=92&origin_latency_ms=180&cache_fixed_monthly=300&origin_capacity_rps=250&requests_per_second=1500&cache_cost_per_million=0.5&origin_cost_per_million=4.5"

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "cache_latency_ms": "3",
  "hit_ratio_percent": "92",
  "origin_latency_ms": "180",
  "cache_fixed_monthly": "300",
  "origin_capacity_rps": "250",
  "requests_per_second": "1500",
  "cache_cost_per_million": "0.5",
  "origin_cost_per_million": "4.5"
}