Guide to Redis Lists and How to Use Them

Introduction If you’re getting started with Redis, it’s important to familiarize yourself with the various data types available for use. One key data type to become acquainted with is the Redis list. In this article, we’ll provide an overview of Redis lists and review some examples that demonstrate how to use them. Prerequisites Before proceeding … Continued

Create a Simple Task Queue with Flask and Redis

Introduction When it comes to website performance, even a few seconds can be too long to keep your users waiting, especially if you want them to keep coming back to your website. Some tasks take longer to execute than others, and it can make sense to remove the lengthier ones from the typical HTTP request-and-response … Continued

Guide on the Redis Databases

Introduction This tutorial will provide an overview of Redis databases and using the Redis command line interface. Every Redis database instance will support 16 databases. While the default database is “0,” this can be changed to any number from 0-15 and can also be configured to support additional databases. To help avoid confusion, each database … Continued

How to Use the Redis CLI

Introduction Redis is an in-memory key-value store that can execute millions of requests per second for running real-time applications. While the program can be used as a cache or message broker, Redis is most often used as a database. It supports basic and advanced data structures from strings, list and sets to geospatial indexes. The … Continued

Guides on Using the Commands in Redis Cheat Sheet Part 1

Introduction This is part one of a Redis cheat sheet tutorial series. Redis, an acronym for Remote Directory Server, is an in-memory database that supports multiple data types. Redis works by mapping keys to values that functions as a key-value-based caching system. Redis commands perform some operations on Redis server, with some commands being able … Continued

Guides on Using the Commands in Redis Cheat Sheet Part 3

Introduction Remote Dictionary Server (Redis) supports hashes, sets, lists, strings, and so much more. Since the data structure store is open source and features in-memory (diskless), it’s perfect for use as a message broker, cache or database. Automation is a key component of Redis too. It has built-in transactions handling and replication. Redis also handles … Continued

Guide to Using the Commands in Redis Cheat Sheet Part 2

Introduction If you’re just getting started in Redis, you may feel overwhelmed by the number of commands that are available for use. With a bit of practice, you’ll find that it’s easy to master these commands and harness the full power of Redis. However, a Redis cheat sheet can serve as a handy reference while … Continued

How to Use the Postgres Select Now Function

Introduction This tutorial will cover the PostgreSQL GETSET and NOW() functions. A Redis get set data type is an unordered collection of unique and automatically specified string values. The SELECT statement is used to select certain specified data from the database and the NOW() function is used to obtain the current date and time based … Continued

How to Use the Redis Get Set Command

Introduction Although Redis is sometimes described as a database, it can best be defined as an in-memory key-value store. Because Redis stores data based on keys and values, it’s important to know how to use various Redis commands to manipulate data in this format. The Redis “get set” (GETSET) command allows you to set a … Continued

How to Use the Redis HSET Data Type

Introduction If you’re getting started with Redis, it’s important to have a good understanding of hashes and how they’re used. A hash is a data structure that stores a mapping between a key and a value. Redis hashes can hold multiple key-value pairs and take up little space, making them well-suited to represent complex data … Continued

Keep in the know!

Subscribe to our emails and we’ll let you know what’s going on at ObjectRocket. We hate spam and make it easy to unsubscribe.