Today we learn about redis Hash, What is it, Command of hash, Redis hashes is map or dictionaries data structure. Each hash in Redis is associated with a key, and the key can be used to access the value, add value, modify value or remove fields.
in short the Hashes in redis:
Key with named […]
Redis, renowned for its blazing-fast performance and versatile data structures, offers a myriad of tools for developers to architect robust and scalable applications. At the heart of Redis lies its string data type, a foundational element empowering developers to craft efficient and dynamic solutions.
Unleashing Versatility: Redis strings transcend mere text storage, serving as dynamic […]
Redis can automatically clean data from memory using keyword. we can tell Redis to remove data at seconds, milisecond and epoch time.
List Command to Key Expirations
TTL key : this comand return integer (seconds) expiration, -1 means key without TTL. exp: TTL totalemployee 19835 second= 5.50972222 hour IF we need to show expiry in […]
SET key value [NX | XX] GET [ EX | PX | EXAT | PXAT | KEEPTTL]
Let’s break down the options for the set commands in redis SET for save data key : key of value value : value of data optional keywords of SET (update, insert or update) NX : only set the […]