DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Redis Data Types: The Basics

2 years ago thenewstack.io
Redis Data Types: The Basics

Summary: This is a summary of an article originally published by The New Stack. Read the full original article here →

Redis is often called a key-value store because every value stored in the database is attached to a key, and that key is used to look up the value. In this article, we introduce you to the most commonly used data types that are available within Redis. Redis keys are the index to data stored in Redis.

Strings can be stored attached to a key using the SET command: redis> SET mykey "This is a string"

Redis can store arbitrary JSON documents in a single Redis key, as illustrated in Figure You store these JSON documents in Redis using a special JSON version of the Redis SET/GET commands.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com