Our great sponsors
-
Redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Also we will use another third-party package called rate-limiter-flexible as it works with Redis, process Memory, Cluster or PM2, Memcached, MongoDB, MySQL, PostgreSQL and allows to control requests rate in a single process or distributed environment.
I would prefer to choose Redis because it is fast and flexible with support for various types of data structures.
Related posts
- How to rate limit a login route in Express using node-rate-limiter-flexible and Redis
- API Limiting: Best Practices and Implementation
- what you do or the user does when he reached their rate limits ?
- Trouble adding rate limiter to API route in Nextjs
- Is there any request limiter compatible with "oak" framework?