Skip to main content

2 posts tagged with "rate-limit"

View All Tags

react-query stops at the browser. alova/server handles your BFF.

· 4 min read
Core maintainers of alova

You built the frontend on react-query. Its cache and retry keep the browser happy. Then you stood up a Node BFF that calls three downstream services, and the retries and throttling for those calls live on the server. react-query never runs there. This post shows the exact line where react-query's job ends and where alova/server picks up, with the code for each side.

Your BFF got rate-limited. One retry layer is enough.

· 5 min read
Core maintainers of alova

You run a Node BFF. It sits between your frontend and three downstream services. One afternoon the biggest downstream starts returning 429s, and your BFF answers every one by firing the same request again, immediately. Within a minute the downstream is buried under retries for requests it already rejected, and your frontend sees a wall of 500s. Sound familiar?