DEV Community

Cover image for What is Redis?
Aweys Ahmed
Aweys Ahmed

Posted on

What is Redis?

As you continue to learn more about software development, you'll start to hear about more Frameworks, libraries, tools and databases.

Sometimes this can feel overwhelming but rest assured you don't have to know and master everything in software development. No one has or will.

However, it doesn't mean you cannot try and learn as much as possible.

Once you start working on a larger project with a bigger development team, you may encounter Redis.

What is Redis?

It is an in-memory data structure store. It can be used as a database or cache. It can be used as a message broker as well but this is beyond the scope of this blog post.

When used as a database it would be considered a NoSQL database that uses Keys and Values. It supports these data structures.

  • strings
  • hashes
  • lists
  • sets
  • sorted sets
  • bitmaps
  • sorted sets

One of the main appeals of using Redis is its speed. Redis data is kept in-memory whereas other databases store data on disk or on SSDs.This allows Redis to access information much quicker. Redis will only store data on disk when it requires persistence.

Redis contains many other features that we will explore deeper in future blog posts.

I hope this blog post has given you enough information to know what Redis is?

If not, feel free to ask me and I will gladly provide more information.

Top comments (2)

Collapse
 
grsahil20 profile image
Sahil

Nice one, give a read here as well : codesapling.com/blog/2014/05/03/ge...

Collapse
 
aweysahmed profile image
Aweys Ahmed

Thanks for sharing. I'll definitely look into it.