Building Databases with Redis

Building Databases with Redis
Building Databases with Redis

English | 2015 | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 3h 13m | 538 MB
eLearning | Skill level: All Leveld | by Rostyslav Dzinko

Acquire practical experience and skills in designing databases using Redis

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.

What You Will Learn

  • Discover the correct way to install Redis to make the most of the supplied toolset
  • Operate on Redis-stored data structures using Redis commands to build complex data architectures
  • Use the command-line client and database server to interact with Redis
  • Grasp horizontal and vertical scaling of the database to resolve failover problems
  • Create your own commands using Lua to make complex server-side operations
  • Monitor Redis activities and make your database secure for smooth administration

Table of Contents

Developing Our First Application Using Redis
Installing Redis and Starting the Command-line Client
Getting and Setting Strings
Inspecting Keys
Atomic Numeric Counters
Partial Data Modification
Implementing a Simple Cache

Administration and Security
Server CONFIGuration
Setting Up Authentication
Logging and Monitoring
Data Storage and Security

Lists and Hashes
Introducing an Image Gallery Application
Users’ Information Is Stored in Hashes
Adding a List of Galleries
Image Pagination and Surfing History

Sets, Sorted Sets, and HyperLogLog
Tagging Images with Sets
Running Tag Clouds with Sorted Sets
Counting Unique Visitors with HyperLogLog
Deducting Gallery Tags
Making Friends-related Logic with Sets

Introducing a Chatting Application
Direct Messaging with Publish/Subscribe
Implementing a Chat Room
Handling Multiple Rooms with Multichannel Subscription

Scaling and High Availability
Master/Slave Replication
The Redis Cluster

Transactions and Pipelining
Explaining Transactions
Implementing Check-and-set
The Mass Insertion of Data

Scripting Redis
An Introduction to the Lua Script
Writing Scripts
EVALuating Scripts
Caching Scripts
A Final Word