Get in Touch

Course Outline

Module 1: Initial Setup

  • Review of Redis release versions
  • Process of installing the software
  • Configuring the instance
  • Overview of the security architecture
  • Configuring Redis to start automatically on boot
  • Security hardening measures applied by standard Linux distributions
  • Introduction to client libraries and language bindings

Module 2: Data Model

  • Primitive data types and the commands used to manipulate them
  • Common use cases associated with each data type
  • Standard naming conventions for Redis keys
  • Understanding the practical implications of Redis being mostly single-threaded
  • The Redis wire protocol
  • Handling cases where client libraries lack support for specific useful commands
  • Reasons why certain commands are intentionally omitted from some client libraries
  • Shifting mindset from relational database design to Redis architecture
  • General strategies for organizing data effectively
  • Implementing expiration logic
  • Utilizing Publish/Subscribe mechanisms
  • Using transactions and Lua scripting
  • Integrating external modules
  • Best practices for maintaining data consistency

Module 3: Performance Optimization

  • Methods for benchmarking Redis performance
  • Identifying commands that should be avoided
  • Techniques for debugging latency issues
  • Addressing challenges with large DEL operations and alternative approaches
  • Optimizing performance through pipelining
  • Efficient strategies for bulk data insertion
  • Diagnosing and resolving excessive memory usage
  • Practical tips for memory optimization

Module 4: Operations & Maintenance

  • Exploration of available persistence mechanisms
  • Preventive measures to mitigate SSD wear
  • Procedures for backup and restoration
  • Tools for inspecting database contents
  • Utilities for analyzing data dumps
  • Balancing durability requirements against performance needs
  • Switching between RDB and AOF persistence modes
  • Scenarios suitable for diskless Redis configurations
  • Operating system-level tunables that impact Redis
  • Monitoring strategies for tracking Redis performance

Module 5: Scaling with Multiple Redis Instances

  • Running multiple Redis instances on a single server
  • Implementing application-level partitioning
  • Setting up master-slave replication
  • Achieving high availability with Redis Sentinel
  • Configuring Redis Cluster
  • Managing Sentinel and Cluster setups across NAT environments
  • Ensuring consistency in backup processes

Requirements

Attendees are expected to be proficient in basic system administration tasks via the Linux command line. While some sections may benefit from programming or scripting knowledge, these are not strictly mandatory. When making your reservation, please specify any programming languages you are familiar with. If you have no specific language background, the course will rely solely on issuing Redis commands directly through redis-cli.

 14 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories