O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building Databases with Redis

Video Description

Acquire practical experience and skills in designing databases using Redis

About This Video

  • Harness the power of the Redis to build storages as per your needs

  • Execute Redis commands and discover ways to perform them on the database

  • Filled with practical examples close to real-life tasks and situations

  • In Detail

    Redis has been used as a supportive database management system for years, although it is capable of being used as a type of main storage managing data consistency and high-load resilience. It is a simple-to-use database management system with transparent data structures and commands that predict queries, and extremely fast execution time.

    This video course is a great way to get acquainted with the Redis database. Take a journey from simple data architectures presented with key-value storage of strings to other topics including hash maps, lists, sets, and more. You will become familiar with a broad range of Redis commands, ways to configure and secure Redis servers, and learn how to scale your databases horizontally and vertically. Finally, you will understand how to set up reliable clusters, administrate them, and add your own commands to Redis using the Lua programming language.

    By the end of the course, you will know how to make use of all of Redis’ features, from programming to administrative features, allowing you to design production-ready storage.

    Table of Contents

    1. Chapter 1 : Developing Our First Application Using Redis
      1. Installing Redis and Starting the Command-line Client 00:06:09
      2. Getting and Setting Strings 00:08:23
      3. Inspecting Keys 00:06:47
      4. Atomic Numeric Counters 00:03:26
      5. Partial Data Modification 00:04:01
      6. Implementing a Simple Cache 00:05:07
    2. Chapter 2 : Administration and Security
      1. Server CONFIGuration 00:06:59
      2. Setting Up Authentication 00:03:03
      3. Logging and Monitoring 00:06:42
      4. Data Storage and Security 00:05:21
    3. Chapter 3 : Lists and Hashes
      1. Introducing an Image Gallery Application 00:04:32
      2. Users' Information Is Stored in Hashes 00:06:52
      3. Adding a List of Galleries 00:07:16
      4. Image Pagination and Surfing History 00:04:26
    4. Chpater 4 : Sets, Sorted Sets, and HyperLogLog
      1. Tagging Images with Sets 00:07:01
      2. Running Tag Clouds with Sorted Sets 00:08:23
      3. Counting Unique Visitors with HyperLogLog 00:03:36
      4. Deducting Gallery Tags 00:02:51
      5. Making Friends-related Logic with Sets 00:03:42
    5. Chapter 5 : Publishing/Subscribing
      1. Introducing a Chatting Application 00:04:19
      2. Direct Messaging with Publish/Subscribe 00:04:53
      3. Implementing a Chat Room 00:03:52
      4. Handling Multiple Rooms with Multichannel Subscription 00:03:37
    6. Chapter 6 : Scaling and High Availability
      1. Master/Slave Replication 00:05:52
      2. Sharding 00:06:05
      3. The Redis Cluster 00:06:59
      4. Sentinel 00:06:24
    7. Chapter 7 : Transactions and Pipelining
      1. Explaining Transactions 00:06:21
      2. Implementing Check-and-set 00:05:39
      3. Pipelining 00:04:45
      4. The Mass Insertion of Data 00:04:46
    8. Chapter 8 : Scripting Redis
      1. An Introduction to the Lua Script 00:07:01
      2. Writing Scripts 00:06:59
      3. EVALuating Scripts 00:04:38
      4. Caching Scripts 00:04:17
      5. A Final Word 00:02:03