Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Redis Stack for Application Modernization

You're reading from  Redis Stack for Application Modernization

Product type Book
Published in Dec 2023
Publisher Packt
ISBN-13 9781837638185
Pages 336 pages
Edition 1st Edition
Languages
Authors (2):
Luigi Fugaro Luigi Fugaro
Profile icon Luigi Fugaro
Mirko Ortensi Mirko Ortensi
Profile icon Mirko Ortensi
View More author details

Table of Contents (18) Chapters

Preface Part 1: Introduction to Redis Stack
Chapter 1: Introducing Redis Stack Chapter 2: Developing Modern Use Cases with Redis Stack Chapter 3: Getting Started with Redis Stack Chapter 4: Setting Up Client Libraries Part 2: Data Modeling
Chapter 5: Redis Stack as a Document Store Chapter 6: Redis Stack as a Vector Database Chapter 7: Redis Stack as a Time Series Database Chapter 8: Understanding Probabilistic Data Structures Part 3: From Development to Production
Chapter 9: The Programmability of Redis Stack Chapter 10: RedisInsight – the Data Management GUI Chapter 11: Using Redis Stack as a Primary Database Chapter 12: Managing Development and Production Environments Index Other Books You May Enjoy

Running health checks

Redis is a powerful, yet simple-to-use, open source data structure server that is designed for high performance and scalability. One of the core principles behind Redis is simplicity, which is reflected both in its design and its architecture. And the question “Is my Redis ready?” finds its answer in the redis-cli tool.

Verifying whether the installation has been completed correctly is as simple as running the following command in a terminal window:

redis-cli –h 127.0.0.1 -p 6379 PING
PONG

This is the most reliable and secure way to check whether Redis is up and running. If it is, a PONG response message will be given. Failing that, an alternative message will be reported, as follows:

redis-cli –h 127.0.0.1 -p 6379 PING
LOADING Redis is loading the dataset in memory

Automating the health check for Redis is possible using the redis-cli executable. This means that scripts can be written to interpret the output message from...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}