Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

AUTH immediately after creating a connection #559

Open
wants to merge 1 commit into
base: 2.8
Choose a base branch
from
Open

AUTH immediately after creating a connection #559

wants to merge 1 commit into from

Conversation

deepakverma
Copy link

While using redis-benchmark with more that one client for eg. -c 500, it would first create 500 connections and then authenticate them by sending AUTH command over the wire.

This creates an issue while trying to benchmark Redis endpoints (like Azure Redis) that implements DDOS attack prevention by dropping connections in an event of high number of unauthenticated clients.

With this pull request I am proposing to send AUTH command immediately after a connection has been created by redis-benchmark to improve this scenario.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants