Redis

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

How To Manage Sets in Redis

Sets in Redis are collections of strings stored at a given key. When held in a set, an individual record value is referred to as a member. Unlike lists, sets are unordered and do not allow repeated values. This tutorial explains how to create sets, retrieve and remove members, and compare the members of different sets.

Read more
How to Set Up a Website Hit Counter With Redis and PHP on Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

How to Set Up a Website Hit Counter With Redis and PHP on Ubuntu 20.04

A hit counter is an application that records and indicates the number of visits your web page has received. The counter starts from 1 and is incremented once every time a web page is visited. To keep track of the visits, the hit counter application requires a form of a database. To track your site visits, you require a Redis hash map. In this guide, you’ll set up a website hit counter with Redis and PHP on your Ubuntu 20.04 server.

Read more
How To Run Transactions in Redis — step-by-step Linux tutorial on Progressive Robot

How To Run Transactions in Redis

Redis allows you to plan a sequence of commands and run them one after another, a procedure known as a transaction. It’s impossible for clients to run commands while a transaction block is being executed, ensuring that the transaction is treated as a single isolated operation. This tutorial goes over how to how to execute and cancel transactions, and also includes some information on pitfalls commonly associated with transactions.

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

How To Manage Sorted Sets in Redis

In Redis, sorted sets are a data type similar to sets in that both are non repeating groups of strings. The difference is that each member of a sorted set is associated with a score, allowing them to be sorted or ranked from the smallest score to the greatest. This tutorial explains how to create sorted sets, retrieve and remove their members, and create new sorted sets from existing ones.

Read more
How To Install and Secure Redis on CentOS 8 — step-by-step Linux tutorial on Progressive Robot

How To Install and Secure Redis on CentOS 8

This tutorial provides instructions for installing Redis on a CentOS 8 server and using its built-in security features, in coordination with some other security configurations, to keep it from being accessed by unauthorized users.

Read more
CHAT