APACHE REDIS Training: Trainer:David Joseph
APACHE REDIS Training: Trainer:David Joseph
Trainer:David Joseph
Introduction
Redis is an open source (BSD licensed), in-memory data structure store, used as a
database, cache and message broker.
Redis is an open source (BSD licensed), in-memory data structure store, used as a
database, cache and message broker. It supports data structures such
as strings, hashes, lists, sets, sorted sets with range
queries, bitmaps, hyperlogs, geospatial indexes with radius queries and streams.
Redis has built-in replication, Lua scripting, LRU eviction, transactions and different
levels of on-disk persistence, and provides high availability via Redis Sentinel and
automatic partitioning with Redis Cluster.
You can run atomic operations on these types, like appending to a
string; incrementing the value in a hash; pushing an element to a list; computing set
intersection, union and difference; or getting the member with highest ranking in a
sorted set.
In order to achieve its outstanding performance, Redis works with an in-memory
dataset. Depending on your use case, you can persist it either by dumping the
dataset to disk every once in a while, or by appending each command to a log.
Persistence can be optionally disabled, if you just need a feature-rich, networked, in-
memory cache.
Redis also supports trivial-to-setup master-slave asynchronous replication, with very
fast non-blocking first synchronization, auto-reconnection with partial
resynchronization on net split.
Other features include:
a. Transactions
b. Pub/Sub
c. Lua scripting
d. Keys with a limited time-to-live
e. LRU eviction of keys
f. Automatic failover
You can use Redis from most programming languages out there.
Redis is written in ANSI C and works in most POSIX systems like Linux, *BSD, OS X
without external dependencies. Linux and OS X are the two operating systems
where Redis is developed and more tested, and we recommend using Linux for
deploying. Redis may work in Solaris-derived systems like SmartOS, but the
support is best effort. There is no official support for Windows builds, but Microsoft
develops and maintains a Win-64 port of Redis.
Topics to be covered in the Course
Introduction to Course
Introduction
Prerequisites
Overview of Redis
What is Redis
Redis vs DBMS
Redis Single Instance Architecture
Redis Persistence
Backup and Recovery of Redis Datastore
Redis Replication
Clustering in Redis
Clustering and Replication
Installing Redis
Installation
Redis Client
Additional Topics
Case Study
Using Redis in IT Ecosystems