LinuxCBT.com

Syllabus

Focus: MemCache NoSQL DB | Key | Value | Caching

Duration: 5-Hours

  • Intro to Key | Value Caching - MemCacheD - Usage

    • Introduction - MemCacheD - Features
      • Discuss features and benefits
      • Discuss Caching Applicability
      • Identify Cache Hosts
      • Install MemCacheD
      • Confirm Configuration
      • Explore environment
    •  
    • MemCacheD - General Usage
      • Install MemCache Clients
      • Reveal various daemon statistics
      • Generate sample data
      • Insert sample data into cache
      • Evaluate Keys arbitrarily
      • Flush Key | Value Pairs and evaluate
      • Reload subset of sample data and evaluate
      • Discuss various storage commands
      • Generate and store arbitrary data
      • Evaluate accordingly
    •  
    • Cache Synchronization
      • Highlight important cross-application concepts
      • Discuss importance of Client Code
      • Vary source data accordingly and compare with Cache
      • Update Cache with latest data and evaluate
      • Insert arbitrary data with finite expiration
      • Test data access
      • Write $SHELL script to use Cache and Refresh accordingly
      • Evaluate results
    •  
    • MemCacheD - Cluster of Hosts
      • Discuss applicability
      • Highlight available targets and confirm configuration
      • Update targets accordingly
      • Invalidate Cache
      • Populate Cache with various data and evaluate
      • Confirm Key | Value pairs on various Cluster Nodes
      • Flush Results on targets
      • Reload and explore targets
      • Discuss concepts related to MemCacheD Clustering of Key | Value Pairs
    •  
    • MemCacheD - Python - Integration
      • Express usage features and concerns
      • Enable modular support for MemCacheD
      • Use Interactive interface to source MemCache objects
      • Issue common commands via Python against the Cache
      • Explore and discuss behaviour across Nodes
      • Author simple script to interact with MemCacheD
      • Automate procedure
    •  
    • MemCacheD - PHP - Includes
      • Consider features
      • Discuss sample usage scenarios
      • Generate usage files for inclusion
      • Ensure PHP support for MemCacheD
      • Author PHP script to Load Cached Key | Value pairs
      • Handle Cache Misses programatically
      • Debug as needed
      • Evaluate results
    •  
    • MemCacheD - PHP - SQL Queries
      • Discuss sample usage scenarios
      • Confirm MySQL DB | Table structure
      • Connect to MySQL via PHP
      • Confirm DBMS-provided results
      • Cache results if not present in Cache
      • Vary timers and monitor Cache behaviour
      • Evaluate results
    •  
    • MemCacheDB - Persistent - Key | Value - Storage
      • Contrast with MemCacheD
      • Discuss sample usage scenarios
      • Install MemCacheDB
      • Compare and Contrast footprint with MemCacheD
      • Test accessibility
      • Migrate sample scripts to use MemCacheDB
      • Debug as needed
      • Evaluate results
    •  
    • Replicated PHP Sessions - Wide-Scale - Cache UI-Elements
      • Discuss Features
      • Discuss Caching Strategies
      • Generate non-cached requests and discuss
      • Update PHP Web App to use MemCacheD
      • Protect access via IPTables
      • Test HTTP Requests
      • Confirm Distributed Sessions
      • Discuss Implications
      • Explore Cached UI Elements
    •  

LinuxCBT MemCacheD Edition

  •  
DEMO