Redis

How To Manage Hashes in Redis — step-by-step Linux tutorial on Progressive Robot

How To Manage Hashes in Redis

A Redis hash is a data type that represents a mapping between a string field and a string value. A single hash can hold many field-value pairs and are designed to not take up much space, making them ideal for representing data objects. For example, a hash might represent a customer, and include fields like ‘name’, ‘address’, ’email’, or ‘customer_id’. This tutorial will go over how to manage hashes in Redis, from creating them to retrieving and deleting the data held within a hash.

Read more
How To Manage Strings in Redis — step-by-step Linux tutorial on Progressive Robot

How To Manage Strings in Redis

In Redis, strings are the most basic type of value you can create and manage. This tutorial provides an overview of how to create and retrieve strings, as well as how to manipulate the values held by string keys.

Read more
How to Set Up a Redis Server as a Session Handler for PHP on Ubuntu 14.04 — step-by-step Linux tutorial on Progressive Robot

How to Set Up a Redis Server as a Session Handler for PHP on Ubuntu 14.04

Redis is an open source key-value cache and storage system, also referred to as a data structure server for its advanced support for several data types, such as hashes, lists, sets, and bitmaps, amongst others. It also supports clustering, which makes it often used for highly-available and scalable environments. In this tutorial, we’ll see how to install and configure an external Redis server to be used as a session handler for a PHP application running on Ubuntu 14.04.

Read more
How To Change Redis's Configuration from the Command Line — step-by-step Linux tutorial on Progressive Robot

How To Change Redis’s Configuration from the Command Line

There may be times where you want to change the behavior of your Redis instance on the fly. Redis has several commands that allow you to make changes to the Redis server’s configuration settings directly from the redis-cli interface. This tutorial will go over some of these commands, and also explain how to make these configurations permanent.

Read more
How To Handle Asynchronous Tasks with Node.js and BullMQ — step-by-step Databases tutorial on Progressive Robot

How To Handle Asynchronous Tasks with Node.js and BullMQ

To avoid slowing down the request/response circle, you can use bullmq, a distributed task queue that allows you to offload time-consuming tasks from your Node.js app. To keep track of jobs, bullmq uses Redis to store a short description of each job in a queue. In this article, you will use bullmq to offload a time-consuming task into the background, which will enable an application to respond quickly to users.

Read more
CHAT