Routing
For every request, Lasso finds the providers in the profile that can serve it, orders them by your strategy, and fails over to the next one when an error is safe to retry. You choose the strategy per call site in the URL.How a provider is chosen
- Find candidates. Providers in the profile that serve the chain and transport. Known method gaps, history limits and range limits move a provider that can’t serve the request to the back; Lasso never drops the last route.
- Order by health. Providers with an open circuit are skipped. Healthy providers come before rate-limited or recovering ones, and providers behind the requested block wait behind those at the head.
- Order by strategy. Within each health group, your strategy sets the order.
- Send, and fail over. A read that fails in a way that’s safe to retry moves to the next provider, within one request deadline.
Choose a strategy
A URL without a strategy uses
balanced-fast on Premium and load-balanced on
other profiles. latency-weighted is an alias of balanced-fast.
Latency is measured in the region serving you, per provider, transport and
kind of request (a family of related methods). Premium and Custom serve all
four strategies. public, payment fallback and free access serve
load-balanced, and lasso_meta.strategy reports what was used. On premium,
strategies price differently.
What failover covers
A profile never borrows providers from another pool. Pin one provider with
<base>/provider/<name>/<chain> to debug it; a pin has no failover.
Trial it against your current endpoint
- Send the same mix of your app’s real methods through your current endpoint and through Lasso, from the regions you deploy in.
- Compare success rate, p50, p95 and p99 latency, and head freshness. A lower mean alone doesn’t show the tail improved.
- Add
?include_meta=bodyto seeselected_provider,retries,upstream_latency_msandlasso_overhead_msfor each request. See routing evidence. - Force the failure you need to survive, such as throttling or stopping one of your own nodes, and confirm your requests keep succeeding.
When Lasso’s own systems fail
Each node routes from its last-known keys, profiles and provider state, so a database, billing or metering outage doesn’t refuse requests. Changes made during the outage take effect once the node can read them.Limits
load-balancedspreads load across healthy providers, not evenly: if only one is healthy, it takes nearly every first attempt.fastestcan concentrate traffic on one provider for one kind of request.- A provider without recent measurements isn’t assumed fast or slow; it’s tried after measured ones.
- Failover helps only when providers overlap on the method, history and chain you need. Two URLs on the same provider account can fail together.
Next
- RPC method behavior: reads, history, transactions, filters and subscriptions.
- Routing evidence: see which provider served a request and why.
- Bring your own providers: route over the provider accounts and nodes you already have.