A low overhead rate limiter for your routes. This plugin will add an onRequest hook to check if a client (based on their IP address) has made too many requests in the given timeWindow. Usage: Register the plugin and, if required, pass some custom options. Example: ```javascript import Fastify from 'fastify' const fastify = Fastify() await fastify.register(import('@fastify/rate-limit'), { max: 100, timeWindow: '1 minute' }) fastify.get('/', (request, reply) => { reply.send({ hello: 'world' }) }) fastify.listen({ port: 3000 }, err => { if (err) throw err console.log('Server listening at http://localhost:3000') }) ```
Common questions about @fastify/rate-limit including features, pricing, alternatives, and user reviews.
@fastify/rate-limit is A low overhead rate limiter for your routes. It is a Application Security solution designed to help security teams with Web Security.
@fastify/rate-limit is a free Application Security tool. This makes it accessible for organizations of all sizes, from startups to enterprises. Visit https://github.com/fastify/fastify-rate-limit/ for download and installation instructions.
Popular alternatives to @fastify/rate-limit include:
Compare all @fastify/rate-limit alternatives at https://cybersectools.com/alternatives/fastifyrate-limit
@fastify/rate-limit is for security teams and organizations that need Web Security. It's particularly suitable for small to medium-sized teams looking for cost-effective solutions. Other Application Security tools can be found at https://cybersectools.com/categories/application-security
Head-to-head feature, pricing, and rating breakdowns.
API security platform for discovering, validating, and protecting API endpoints
A privacy-focused CAPTCHA alternative that protects websites from bot attacks using proof-of-work challenges and AI-based detection while maintaining GDPR compliance.