LinuxCBT.com

Syllabus

Focus: Redis NoSQL DB | Key | Value | Caching

Duration: 8-Hours

  • Intro to Key | Value Caching - RedCacheD

    • Introduction - Redis - Features
      • Explain key features
      • Contrast with MemCache
      • Discuss data limits
      • Enumerate important Data Types
      • Install Redis
      • Explore environment
    •  
    • CLI | GETs | SETs| Basics
      • Query Redis Server non-interactively
      • Ascertain key server stats
      • Set string key | values
      • Confirm existence of Keys
      • Enumerate Data Type
      • Determine Key Life
      • Alter Key TTL and Test
      • Increment | Decrement Values
      • Get and Set Values
      • Delete superfluous Keys
    •  
    • Lists
      • Describe features
      • Enumerate common list manipulation commands
      • Build basic list
      • Prepend list with strings
      • Append values and evaluate
      • Discover numerical length of lists
      • Sort the contents as needed
      • Return subset of list
      • Strip list values and evaluate
      • Reduce list to desired values
    •  
    • Sets
      • Discuss features and applicability
      • Contrast with lists
      • Enumerate key commands
      • Define and extend set
      • Enumerate members of set
      • Determine set cardinality
      • Remove set items
      • Find set union and intersection
      • Define sorted set
      • Contrast with standard set
      • Return sorted set items
    •  
    • Hashes
      • Discuss features
      • Contrast with lists and sets
      • Enumerate key commands
      • Define hash with common keys
      • Retrieve all and groups of keys
      • Increment | Decrement hash values
      • Remove hash keys
      • Extend hash with new keys
      • Confirm the existence of hash keys
    •  
    • Simple Authentication
      • Discuss default behaviour and caveats
      • Use openssl to generate unique password
      • Update configuration accordingly
      • Test client access with | sans password
      • Confirm functionality
    •  
    • Persistence
      • Discuss supported strategies
      • Query Redis for current persistence configuration
      • Increase snapshot frequency
      • Confirm RDB snapshot changes
      • Enable Append Only persistence
      • Confirm persistence strategies
    •  
    • Disaster Recovery
      • Discuss and contrast recovery options
      • Confirm current persistence configuration
      • Perform snapshot-based recovery
      • Confirm restoration
      • Perform append only recovery
      • Confirm restoration
    •  
    • Replication | Key Migration | Pipelining
      • Discuss features and caveats
      • Alter master configuration
      • Update slave configuration
      • Ensure AUTH mode enabled
      • Define interdependent slave configuration
      • Create new keys and ensure replication
      • Update slave to permit writes
      • Create new keys and ensure locality
      • Discuss Implications
      • Disable slave config post-replication
      • Confirm key | values
      • Migrate key | values to remote servers
      • Confirm source | destination post-migration
      • Copy-migrate keys and confirm
      • Contrast standard processing with pipelining
      • Compare timed results
    •  
    • Transactions
      • Discuss features and caveats
      • Enumerate key commands
      • Start and discard a transaction
      • Confirm expected results
      • Start and complete a transaction | confirm
      • CLI - generate transactions with and sans errors
      • Confirm expected behaviour
      • Use 'WATCH' to perform conditional transactions
      • Confirm results
    •  
    • Python Integration
      • Discuss features
      • Ensure replication configuration
      • Install 'redis-py' Python module
      • Use interactive interface to build connection
      • Confirm server stats
      • Set various Python vars to Redis structures
      • Add | Update | Remove keys
      • Pipeline requests
      • Snapshot Redis instance via Python
      • Connect to remote replicas | confirm
    •  

LinuxCBT RedCacheD Edition

  •  
DEMO