A
A
Anton Anton2017-08-18 14:10:38
Node.js
Anton Anton, 2017-08-18 14:10:38

What is the most efficient way to limit the number of API requests per user/IP?

What is the most efficient way to limit the number of API requests per user/IP?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2017-08-18
@Fragster

https://www.npmjs.com/package/express-rate-limit
There are more useful links at the very beginning.
Efficiency - depends on your tasks ¯\_(ツ)_/¯

V
Vitaly, 2017-08-18
@vshvydky

Fail2ban
But you can run into a situation that you will ban the nating ip of the local network.
From pests it is better to use a fingerprint

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question