The Rate limiter plugin in KTor does not distinguish between client IPs i.e. all clients use the same token bucket.
requestKey
configuration method to have independent rate limits based on the client's IP address:install(RateLimit) {
global {
requestKey {
call -> call.request.origin.remoteAddress
}
}
}