Book Image

Learning Redis

By : Vinoo Das
Book Image

Learning Redis

By: Vinoo Das

Overview of this book

Table of Contents (16 chapters)
Learning Redis
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Classifying data


A general tendency has been to think only in terms of a data model which fits the relational model. This might be a good model for certain classes of data but might prove to be ineffective for another class of data. Since this book is on Redis, we will attempt to classify the data based on certain behaviors and make an attempt to see where Redis fits:

  • Message and event data: The data classified as message data in business show the following properties:

    • Data complexity: Message data has low data complexity as they are usually flat in structure

    • Data quantity: Message data usually has high volumes

    • Persistence: Message data can be stored in disk and memory

    • CAP property: Message data needs to be at least available and partition tolerant

    • Usability: Message data can have usability in real-time, soft real-time, and offline and show the property of heavy writes and low reads

    If the requirement for message data is for real-time and soft real-time activity, and the data quantity is...