Enhancement: Rate Limiter with Edge runtime
xmliszt opened this issue · comments
The old way of implementing rate limiter using LRU-CACHE requires NodeJS API which is not supported by Vercel Edge runtime. Alternative solution is required in order to set up rate limiter for APIs.
Here is one useful reference: https://medium.com/@tqmvt/rate-limiting-your-next-js-app-with-vercel-edge-6ac8fff95ee5