Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Redis

You're reading from   Learning Redis Design efficient web and business solutions with Redis

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781783980123
Length 318 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Vinoo Das Vinoo Das
Author Profile Icon Vinoo Das
Vinoo Das
Arrow right icon
View More author details
Toc

Communication protocol – RESP

Redis in principle works on a client-server model. So like in every client-server model, the client and the server need to have a protocol to communicate with. Communication protocol can be understood as a message exchange taking place between client and the server (and vice versa) based on some fixed agreement or rule between them. So every communication protocol has to adhere to some syntax and semantics, which should be followed by both the parties (client and server) for the communication to be successful. There is also another dimension to this communication protocol, which is the network layer interaction, or better known as TCP/IP Model. The TCP/IP Model can be divided into four parts:

  • Application layer
  • Transport layer
  • Internet layer
  • Network interface

Since the communication protocol between two applications is at application layer, so we intend to focus only on the application layer. The following diagram is a representation of what happens in the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime