Memcached - Part-2
Memcached - Part 2 How Memcached works? Memcached organizes its memory into slabs, which are groups of objects with similar sizes. This helps prevent memory waste caused by fragmentation. For ...
Memcached - Part 2 How Memcached works? Memcached organizes its memory into slabs, which are groups of objects with similar sizes. This helps prevent memory waste caused by fragmentation. For ...
Memcached - Part 1 Basic Operations: Use a Memcached client or nc to store and retrieve data. The set command is used to store a key-value pair in Memcached. Syntax: set <key&g...
Redis Cluster Redis Cluster is a distributed implementation of Redis that automatically partitions data across multiple nodes and provides fault tolerance. Here’s a guide to understanding various ...
Redis Client Difference between redis-cli scan, redis-cli --scan, and redis-cli keys: Command redis-cli keys redis-cli scan redis-cli --scan ...
Redis Replication Redis Replication Key Facts Replication is Asynchronous When a client writes data to the main Redis server (called the Master), the data is copied to other Redi...
Redis - HyperLogLog, Piping, Protocol, Administration HyperLogLog It is a data structure that gives approximate results. It’s used to estimate the count of unique items in a set. Stored as...
Redis - Sets Redis Sets Sets are collections of strings that are unordered and unique. They support standard mathematical operations like: Intersection Difference Unio...
Redis - Hashes Hashes are collections of fields-value pairs. Example: field1:value1, field2:value2, field3:value3. They are similar to JSON objects. Hashes represent the mapping relations...
Redis - Lists Lists are a flexible data structure in Redis. A list is a simple collection of elements. It stores a sequence of objects in an ordered manner. The order of elements is based...
Redis - Strings Commands ❯ Increments the integer value of a key by one. Uses 0 as initial value if the key doesn’t exist. ❯ Syntax: incr [key] 127.0.0.1:6379> set customer:1000:balance 100 ...