Ask Your Question
4

Can Redis both verify the identity of the client and choose the RESP protocol version simultaneously?

asked 2022-09-11 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-12-31 07:00:00 +0000

qstack gravatar image

No, Redis cannot both verify the identity of the client and choose the RESP protocol version simultaneously as these are two separate processes.

To verify the identity of the client, Redis uses authentication mechanisms such as password-based authentication or SSL/TLS certificates. This process happens before any data is exchanged between the client and Redis.

On the other hand, choosing the RESP protocol version is a negotiation process between the client and Redis. The client sends a protocol version in the first data packet, and Redis responds with the chosen version if it is supported. This negotiation happens after the authentication process.

Therefore, Redis cannot perform both processes simultaneously as they happen at different stages of the client-server communication.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-09-11 11:00:00 +0000

Seen: 10 times

Last updated: Dec 31 '22