3 ms·
My first question is how this works when you have more than one server. It's not mentioned in the article, but this implementation uses the standard Rails Cach
by jwilliams 13y ago
My first question is how this works when you have more than one server.
It's not mentioned in the article, but this implementation uses the standard Rails Cache:
https://github.com/kickstarter/rack-attack/blob/master/lib/rack/attack/cache.rb https://github.com/kickstarter/rack-attack/blob/master/lib/r...
There are particular hooks in there for Redis. So if you've got "n" servers, it seems the preferred approach is to use a central Redis store.