
Explore Redis, the open source command based database and its structures, including lists, sets, and hashes, while learning commands, persistence options, and building a task manager with a Node.js client.
Explore the fundamentals of Redis, including memory-based vs disk-based storage, key data types, and the security and authentication options that protect your data.
Learn Redis from scratch introduces Redis as an in-memory data structure store used as a database, cache, and message broker, with key-value data types and built-in persistence.
Redis is a data structure server that stores data in hashes, lists, and sets for in-memory retrieval. Unlike relational databases, it uses direct retrieval commands and lacks a query engine.
Secure Redis by restricting access to trusted clients, enabling a basic password authentication, binding to loopback, and disabling or renaming commands to prevent abuse and denial of service.
Install Redis on Linux with apt-get and on Windows with a Windows Installer, explore the Redis command line interface, and practice basic commands like get, set, and expire.
install redis on linux ubuntu by updating packages, upgrading, and installing redis-server, then copy the default config, start the server on port 6379, and verify with redis-cli ping.
Install redis on Windows with the unsigned msie installer, add the installation to PATH, use the default port 6379 and firewall exception, then start rattus server and ping to verify.
Master redis cli basics by learning core commands like ping, echo, set, get, incr, decr, exists, del, ttl, plus key spaces and expiration.
Explore basic Redis key-value commands such as get, set, and rename, learn scan and match for iterating keys and values, and cover client and configuration commands.
Explore essential Redis key-value commands, including set, get, exists, mset, mget, append, getrange, rename, setex, psetex, ttl, and persist, with practical examples and use cases.
Learn how the scan command iterates keys with a cursor, returning results in chunks and supporting count and match options across data types.
Explore Redis client and config commands to read, set, and reset configuration at runtime, inspect server info and command details, and manage connected clients.
Explore Redis data structures—lists, sets, sorted sets, and hashes—and learn how each type stores keys and values, with a preview of upcoming lessons on these types.
Redis lists are groups of strings, like a one-dimensional array sorted by insertion. Push with lpush or rpush from head or tail, then use lrange, lpop, and rpop.
Explore Redis sets as unordered collections of strings that disallow duplicates, with server-side commands to add, remove, test membership, and compute unions, intersections, and differences.
Learn how Redis sorted sets attach a score to each member to enable fast, ordered access, with commands like zadd, zrange, zrange by score, zrank, zcard, zincrby, and zscore.
Explore Redis hashes, a compact map of string fields to string values that models objects, and learn core commands like hset, hmset, hget, hgetall, hdel, hincrby, hkeys, hvals, and hlen.
Learn how Redis stores data in memory and persists it to disk using RDB and AOF, with snapshotting and data replication covered through practical examples.
Explore data persistence in rattus, from in-memory storage to disk persistence, including forking with copy-on-write snapshots and replication.
Explore RDB persistence and snapshotting, a default, simple RDB file approach that stores point-in-time data and supports backups with manual save and background save options.
Use the append-only file persistence by logging only data-modifying operations in a client-format log, rewrite to a temporary file, and apply fsync policies for durability.
Demonstrates Redis persistence with RDB and AOF: locate the dump file, add users, back up with our backup, and schedule cron saves; AOF writes live data, RDB serves as backup.
Build a task manager web application with rattus and the no js client, demonstrating add, remove, and update of tasks, and using a list and a hash for data.
Initialize a node project with npm init, create a package.json, install express and ejs, set up a main app with routes, and run on port 3000 with nodemon.
Set up the redis client in a node app, render a dynamic index view with ejs, and fetch tasks with lrange to display on the page.
Create a form to add tasks in a to-do list, submit via post to /task/add, and push the task to the server-side list, then redirect to the home page.
Create a delete workflow for tasks by wrapping them in a form with checkboxes, posting to /task/delete, collecting selected items, and removing multiple tasks at once.
Create a post route to submit calls via a form, store fields like name, company, phone, and time in a hash, and display the calls on the index page.
Enhance a task app's UI by integrating Bootstrap via a CDN, applying a Bootswatch theme, and building a responsive navbar, container, and styled sections for a polished single-page app.
Explore the Rattus course overview, learn what it is and how it works, compare it to MongoDB and Memcached, and review core commands, data types, append-only file, and snapshotting.
A database is a crucial aspect of applications that are often only considered as an afterthought. However, for many developers deciding which database to use when building apps is a critical decision.
Among the many popular data structures such as MySQL, MongoDB and Oracle, Redis is slowly gaining popularity within the NoSQL databases. Although, it already plays a supporting role for many companies including Twitter and Github, Redis is now gaining traction as a primary database.
So, what is Redis? Redis is an open-source data structure server that allows developers to organize data using a key-value storage method. This powerful database is perfect for high performance jobs such as caching. Redis is a no-fuss and fast database for many different functions including as a cache or a message broker.
This Redis tutorial is the best place for you to progress from a newbie to an advanced user of Redis. Go from knowing nothing about Redis, to actually being able to create an application using this powerful database.
This Redis course has been specifically designed for beginners who have never worked with Redis before. You will learn everything you need to know about Redis, including what is Redis, what is this database best used for, how to install Redis on your system, etc.
You will learn everything about the basic fundamentals of Redis such as the different data structures, various clients that work with Redis, different key-value pair commands (scan, config, commands, and client), how to persist data to disks and even the different methods of persisting data.
After you learn the basics, you will then build a functional working task manager along with the instructor that will teach how to actually work with Redis in a real-world example. You will build a task manager using NodeJS and Redis. You will also learn how to incorporate Twitter Bootstrap for designing the manager.
Start a newbie and end up mastering Redis in this amazing tutorial. Let’s get started and become an expert of this powerful database.