- List are flexible data structure in Redis
- A list acts as a simple collection of elements
- List stores sequence of objects
- It is ordered in the order of insertion
- Elements in a list are considered as string
- A list can contain 4 billion elements
Use-case
- Used as an event queue
LPUSH , RPUSH , LINDEX and LRANGE and DEL

LINSERT

LPOP and RPOP
L is left i.e Top of list think it like you are typing on a Notepad, the cursor is the start of an array

LTRIM

LSET

LLEN

LPOP – RANK / COUNT /MAXLENGTH

MAXLENGTH – to reduce computation power

LREM

LMOVE
LEFT LEFT

LEFT RIGHT

RIGTH LEFT

RIGHT RIGHT
