The command port and cluster bus port offset is fixed and is always 10000.
The LPUSH command inserts a new element on the head, while RPUSH inserts a new element on the tail
LPUSH mylist a # now the list is "a" LPUSH mylist b # now the list is "b","a" RPUSH mylist c # now the list is "b","a","c" (RPUSH was used this time)
时间: 2024-10-18 15:03:54