In PostgreSQL Client Server architecture, where client will interact with server using TCP/IP protocol. In Redis DB to communicate with Redis server, Redis clients will use RESP protocol.
RESP: Redis Serialization protocol specification.
Feature of RESP:
- Simple to Implement
- Fast to parse
- Human Readable
- Binary Safe.
How communication will work.