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 […]
Tuple data type is a fixed-length sets of typed positional fields. Use a tuple as an alternative to user-defined type(UDT). A Tuple can accommodate many fields(32768). When we create a table, for tuple datatype use angle brackets and a comma delimeter for the commponent types. Unlike other “composed” types (collections and UDT), a tuple is […]