Course outline for Redis
TechnologyRedisDuration
* 2-3 Days
LevelPrerequisites listed
About Redis
Pre-requisites
- The participants should have basic knowledge of some database preferably a NoSQL database
Lab Setup
- Hardware Configuration
- A minimum of 20GB of disk space and atleast 4GB of RAM
- Software Configuration
- Operating System – Ubuntu 20.04/22.04 Desktop or Server Edition
How we train
Online training for Redis
- Instructor-led live cohorts
- Self-paced learning with expert coaches
- 24x7 cloud labs with end-to-end examples
All sessions are 100% hands-on. Labs and activities are derived from real-world work our engineers deliver.
Classroom training
Available for corporate teams in:
- Bengaluru
- Chennai
- Hyderabad
- Mumbai
- Delhi/Gurgaon/NCR
- Pune
Note: Classroom training is for corporate clients only.
Self-paced hands-on sessions are delivered via VirtualCoach.
Detailed Course Outline
Hands-onOverview - SQL/NoSQL
- Datastore design considerations
- Relational v/s NoSQL stores
- Entities, Relationships and Database modeling
- When to use Relational/NoSQL?
- Categories of NoSQL stores
- Examples of NoSQL stores
Commands
- Strings
- Sets
- Sorted Set
- Hashes
- Lists
- Transactions
- Server
- Scripting
- Pub/Sub
- Keys
- HyperLogLog
- Connection
- Cluster
Pipeling in Redis
- Request/Response protocols and RTT
- Redis Pipelining
- Pipelining VS Scripting
Publish and Subsribe
- Related Commands
- Format of pushed messages
- Database & Scoping
Redis Lua scripts debugger
- Termination of the debugging session
- Abbreviating debugging commands
- Breakpoints
- Dynamic breakpoints
- Synchronous mode
- Logging from scripts
- Debugging clients
Memory optimization
- Special encoding of small aggregate data types
- Using 32 bit instances
- Bit and byte level operations
- Memory allocation
Using Redis as an LRU cache
- Maxmemory configuration directive
- Eviction policies
- How the eviction process works
- Approximated LRU algorithm
- LFU mode
Transactions
- Using Transactions
- Errors inside a transaction
- Roll backs in Redis
- Discarding the command queue
- Optimistic locking using check-and-set
- Understanding WATCH
Redis Mass Insertion
- Using the protocol
- Generating Redis Protocol
Partitioning
- Why use Partitioning?
- Partitioning basics
- Different implementations of partitioning
- Disadvantages of partitioning
- Data store or cache
- Presharding
- Redis Cluster
- Twemproxy
Secondary indexing with Redis
- Simple numerical indexes with sorted sets
- Updating simple sorted set indexes
- Multi dimensional data into linear data
- Lexicographical indexes