How to Use the Redis HMSET Command

Introduction If you’re working with data in Redis, you’re likely to find yourself using the hash data structure. A hash can be thought of as a container that holds field names and values, mapping those string names to string values. You can use the HMSET command to set a specific field to a value in … Continued

How to Use the Redis to Store Json Data

Introduction DBAs, developers, and technical specialists must be able to store and manipulate a variety of data types such as strings, hashes, and sets. ReJSON’s data management flexibility stands out as a main primary feature because it supports these plus many other JavaScript Object Notation (JSON) values. Learn how to use Redis store JSON data … Continued

How to Use the Redis Transactions Commands in the Database

Introduction Open source Redis helps developers, DBAs, and other technology specialists manage data in an all-encompassing way. Foundation commands play an important role in that effort. The main reason for this is that foundation commands in Redis were designed to be atomic. This means that Redis transactions use an all-or-nothing proposition. In short, when executed, … Continued

How to Use the Redis INCRBY command

Introduction When you’re working with data in Redis, it’s important to understand the commands available to access and manipulate values. For example, you may need to know how to increment a Redis value by a certain amount. This operation can be performed with the help of the INCRBY command. In this article, we’ll take a … Continued

How to Use the Redis SETNX Command

Introduction When you’re using Redis to store data in key-value pairs, it’s important to know how to set a value at a particular key. Depending on the circumstances, you may not want to set the value if it would overwrite an existing value at the key. Fortunately, you can use the Redis SETNX command to … Continued

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

Build an Application in NodeJS, Express and MongoDB – Part 2

Introduction This article is the second in our two-part series explaining how to build an application using NodeJS, Express and MongoDB. In our first article, we reviewed some of the essential steps needed to get started in the project: installing, setting up and configuring everything you’ll need. We also reviewed some important code used in … Continued

Build an Application in NodeJS Express and MongoDB – Part 1

Introduction If you’re building applications using NodeJS and the Express framework, you may want to interact with a MongoDB database from your code. Fortunately, this task is easy to accomplish using the Mongoose package for Javascript. In this first article of our two-part series, we’ll show you how to create an application using NodeJS, Express … Continued

Use Elasticsearch to Index a Document in Windows

Introduction Elasticsearch is a NoSQL database for storing data in the form of JSON requests to that can store, access, and alter large quantities of data that can easily be queried. Instead of using “records” in a “table”, like with SQL-based databases such as MySQL, it stores data as JSON “documents” in an “index”. This … 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.