section-engineering-education / engineering-education

“Section's Engineering Education (EngEd) Program is dedicated to offering a unique quality community experience for computer science university students."
Apache License 2.0
364 stars 890 forks source link

How to regulate sessions with Redis. #4000

Closed abimbolataofeek closed 2 years ago

abimbolataofeek commented 3 years ago

How to regulate sessions with Redis.

Introduction Redis is an open-source database that is often used to build high-performance scalable web applications. Redis is a key-value store and this key relationship is a little bit similar to how we handle objects in javascript.

Redis is an Open source in-memory data structure store that can be used as a database and/or a cache and message broker. It is an in-memory database which makes it fast. Redis is used for short-lived data in our applications, it's often used with things like sessions or web page headcounts. In-memory means you don't need to have large data sets. You have small pieces of data, so tiny little pieces of data that allow us to keep it in memory that is the machine's memory and not disk.

Key takeaways: At the end of this tutorial the reader should be able to:

  1. Understand What Redis Is
  2. Fundamentals of Redis
  3. Advantages of Redis
  4. Install Redis
  5. Redis-CLI
  6. Data Types - Strings, Lists, Sets, Sorted Sets, Hashes
  7. Data Persistence

References: https://redis.io/

hectorkambow commented 3 years ago

Good afternoon and thank you for submitting your article for publishing. Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. 🚀 Thank you.

hectorkambow commented 3 years ago

@abimbolataofeek

Sounds like a helpful topic - lets please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it).

Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting for final approval. (There are some great free tools that we reference in EngEd resources.) ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

Please be sure to double check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved