Skip to main content
7 votes
Accepted

How is a client determined for rate limiting? Is it some sort of client ID? based on account that pays fees?

It is the IP address. Here's the source: https://github.com/stellar/go/blob/master/services/horizon/internal/init_web.go#L182
sui's user avatar
  • 2,534
5 votes
Accepted

Did Stellar's public Horizon Server Changes its rate limit?

Your observation is correct. X-Ratelimit-Limit: 101 X-Ratelimit-Remaining: 100 X-Ratelimit-Reset: 1 The 1st parameter is the total number of requests in a specific period of time (specified with ...
cesarm's user avatar
  • 1,527
5 votes

What to do about the rate limit exceeded problem?

You are making too many Horizon requests, consider rewriting code that polls Horizon. Setup a queue or use caching for Horizon data. Horizon rate-limiting behavior is described here. In order to ...
Orbit Lens's user avatar
  • 6,886
3 votes
Accepted

How stellar prevent DDoS

At Horizon, there is a "rate limit" variable, which ensures no more than N requests from same IP in one hour. X-RateLimit-Limit --- The maximum number of requests that the current client can make ...
cesarm's user avatar
  • 1,527
2 votes
Accepted

Can't find Horizon X-RateLimit-* headers

The possible reason is that the public horizons are behind a proxy or load balancer that do not forward the rate limit fields. If you check publicnode, you will see the fields: curl -i https://horizon....
Vinamo's user avatar
  • 301
2 votes
Accepted

How do I disable rate limiting on my local Horizon server?

It's either environment variables which you can read from a config file by using a start script (like this one comes along with debian/ubuntu packages) or command line params. To disable rate ...
sui's user avatar
  • 2,534
2 votes

What to do about the rate limit exceeded problem?

You can be more specific with the data you are requesting. Make sure you set the cursor parameter correctly so you are not flooded with more data than you need. For example, if you only want payment ...
nikhils's user avatar
  • 1,080
1 vote

Did Stellar's public Horizon Server Changes its rate limit?

You can disable PER_HOUR_RATE_LIMIT in after horizon 0.15.0. PER_HOUR_RATE_LIMIT="0" in horizon.env mean disable x-limit* refer: https://github.com/stellar/go/blob/...
amicus's user avatar
  • 43

Only top scored, non community-wiki answers of a minimum length are eligible