Quotas Overview
Traditioally, API providers enfore quotas and rate limits to ensure the best distribution and use of their resouces among all their customers, meaning that it is usually enforced by an API Gateway used by providers. At Lunar.dev, we have implemented the consumer side version of every limitation providers are using so users are able to get the most value they can within the limits set by providers.
Lunar Quotas offer a flexible and centralized method for managing and configuring API quotas for the APIs you consume. These quotas are defined by the API provider and can be dividided into sub-quotas by Lunar's internal limits, allowing users to set precise limits on API consumption. Quota management is defined in a yaml files under quotas folder, shared across all flows for each API Provider within a Lunar Gateway, providing a scalable way to allocate and monitor API usage.
The Quota System is a key feature in this platform, enabling users to define quotas based on specific provider limits and internal limits based on your API consumption profile, such as monthly, daily, or other intervals. Quotas are dynamically updated as consumption occurs, ensuring real-time management across flows.
Quotas are a passive counter based on the most common limitation strategies used by providers. They can be used in conjuction with a flow to control your APIs, however if they are used on their own they will only generate metrics.
ποΈ Quotas Overview
Traditioally, API providers enfore quotas and rate limits to ensure the best distribution and use of their resouces among all their customers, meaning that it is usually enforced by an API Gateway used by providers. At Lunar.dev, we have implemented the consumer side version of every limitation providers are using so users are able to get the most value they can within the limits set by providers.
ποΈ Quota Strategies
3 items
ποΈ Quota Configurations
5 items