Redis Tutorial for Beginners – Introduction

Posted by

What is Redis

Redis, an open-source in-memory data structure store that stands for REmote DIctionary Server, is frequently used to create non-relational key-value databases and caches.

It’s crucial to understand that Redis is not a key-value database but rather a data structure store. Each key in a conventional key-value database is an arbitrary string that is connected to an uninterpreted string of bytes (which might be any kind of dataā€”a string, an image, binary data, an integer or floating point number, etc.).

Redis and other data structure stores get rid of this restriction. A text or a more intricate data structure, like a list, set, hash, bit array, or stream, could be the key. This makes it possible for developers to benefit from several Redis use cases:

  • Key-value database
  • Cache
  • Message broker

What does the name Redis mean?

  • Redis stands for Remote Dictionary server.
  • It is often referred to as a data structure server, since the keys can contain string, hashes, lists, sets and sorted sets.

What is Redis used for?

Redis is an advanced key-value store that can function as a NoSQL database or as a memory-cache store to improve performance when serving data that is stored in system memory.

  • Caching
  • Session Management
  • Message Queuing
  • Real-time Analytics
  • Gaming
  • IoT Networking
  • Search and Query
  • Geospatial Data
  • Cross-System Data Management
  • Faceted Search

How to interact with Redis?

  • Once installed in a server, run the Redis CLI (Command Line Interface) to issue commands to Redis. while working on the CLI tool, your command-line prompt will change to
  • Redis>

History

  • Release in Early 2009
  • By Salvatore Sanfilippo
  • built in order to scale hhtp://lloogg.com/
  • March 2010 – VMWare hired Sanfilippo to work full-time on Redis.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x