search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

How Redis Cluster Reduces Master-Slave Synchronization Consumption_Achieving Load Isolation by Setting the Read-Only Mode of the Slave Node

How Redis Cluster Reduces Master-Slave Synchronization Consumption_Achieving Load Isolation by Setting the Read-Only Mode of the Slave Node

In cluster mode, slave-read-onlyyes is invalid because the cluster protocol bypasses the master-slave configuration; the readonly command must be used to enable connection-level read-only so that the slave node can respond to the read request of this master slot.

Apr 28, 2026 am 07:21 AM
redis red
What indicators are monitored by the Redis publish and subscribe system_Real-time tracking of subscription number, publishing frequency and memory usage

What indicators are monitored by the Redis publish and subscribe system_Real-time tracking of subscription number, publishing frequency and memory usage

RedisPub/Sub monitoring needs to focus on connection behavior and resource consumption: use PUBSUBNUMSUB to check the number of real-time subscriptions, use the combination of instantaneous_output_kbps and client_longest_output_list to determine backlog, and connected_clients and connections_received_per_sec work together to identify frequent reconnections.

Apr 28, 2026 am 07:18 AM
redis Memory usage red
How to quickly connect Redis to Spring Boot applications

How to quickly connect Redis to Spring Boot applications

SpringBoot2.7 uses Lettuce by default because it is based on Netty, supports responsiveness, thread safety, and automatically manages connection pools; forcibly switching to Jedis will lose advantages and increase configuration burden, and SpringBoot3.x has completely removed Jedis support.

Apr 28, 2026 am 07:15 AM
redis red
How Redis optimizes the QPS bottleneck caused by a large number of concurrent requests_Horizontally expand the Slave node to share the pressure through read-write separation

How Redis optimizes the QPS bottleneck caused by a large number of concurrent requests_Horizontally expand the Slave node to share the pressure through read-write separation

Yes, but the client needs to explicitly route the read request to the Slave; otherwise, all reading and writing are done on the Master, and adding the Slave is invalid. It is necessary to prevent hidden limitations such as replication delays, sudden increase in the number of connections, unsupported agents, thread/network bottlenecks, etc.

Apr 28, 2026 am 07:12 AM
redis ps Concurrent requests red
How Redis prevents frequent main database switching in sentry mode_Troubleshoot monitoring jitter and improve down-after-milliseconds

How Redis prevents frequent main database switching in sentry mode_Troubleshoot monitoring jitter and improve down-after-milliseconds

The root cause of Sentinel's misjudgment that the main database is offline is that network jitter or the main database's response delay is mistakenly captured by down-after-milliseconds; subjective offline only relies on a single sentinel timeout, and objective offline requires majority consensus. However, simultaneous timeout of multiple sentinels will trigger false switching.

Apr 28, 2026 am 07:09 AM
redis red
How to smoothly load the Redis cache during shutdown_Listen to the ContextClosed event

How to smoothly load the Redis cache during shutdown_Listen to the ContextClosed event

When a Redis instance is shut down, a save will be triggered by default, but this is a blocking synchronous disk write, and the main process is stuck until the RDB is written. If you are using SpringBoot Redis as the cache layer, and you want the application to be more controllable when shutting down, without losing data, or slowing down the shutdown process, relying on Redis's own behavior is far from enough. How to capture the timing of Redis disk placement when SpringBoot is closed cannot rely on Redis' own shutdown logic. It must be intervened in advance at the JVM level. Spring's ContextClosedEvent is the most accurate hook: all beans in the container are destroyed, but the thread pool

Apr 28, 2026 am 07:06 AM
redis red
What to do if the stress test reports Redis memory overflow? Increase the direct memory limit of the underlying buffer

What to do if the stress test reports Redis memory overflow? Increase the direct memory limit of the underlying buffer

The main cause of Redis stress test memory overflow is often the client output buffer exceeding the limit rather than the data volume exceeding maxmemory; it is necessary to check the client-output-buffer-limit configuration, monitor client_longest_output_list and other indicators, and set the soft and hard thresholds appropriately.

Apr 28, 2026 am 07:03 AM
redis red
How Redis avoids persistence failure causing all write operations to be rejected_Properly configure stop-writes-on-bgsave-error

How Redis avoids persistence failure causing all write operations to be rejected_Properly configure stop-writes-on-bgsave-error

Stop-writes-on-bgsave-error should be turned off because it blindly refuses writes when RDB fails, causing a service avalanche. In fact, data security can be ensured through AOF, external backup, etc., and the fundamental solution is to reduce the probability of bgsave failure.

Apr 28, 2026 am 07:01 AM
redis red
How Redis publish and subscribe prevents message injection attacks_Verify the legality and security of published messages

How Redis publish and subscribe prevents message injection attacks_Verify the legality and security of published messages

RedisPUB/SUB protection requires disabling high-risk commands such as PUBLISH from the server, forcing password authentication and binding intranet addresses. Consumers must truncate the length, verify JSON, and strip non-business fields. Lua scripts prohibit splicing command names and user input must be strictly verified.

Apr 23, 2026 am 07:57 AM
redis red
How to deal with Redis AOF files that are too large_Execute BGREWRITEAOF command to compress logs

How to deal with Redis AOF files that are too large_Execute BGREWRITEAOF command to compress logs

BGREWRITEAOF sometimes does not take effect or gets stuck because the fork child process fails or is delayed (such as insufficient memory, enabling THP), resulting in rewriting not actually starting; you need to check the INFOpersistence status and dmesg logs, and tune the kernel parameters and automatic rewrite thresholds.

Apr 23, 2026 am 07:54 AM
redis red
What are the performance optimizations of Redis publish and subscribe in Redis 7.0_Improvements in parsing the event loop mechanism

What are the performance optimizations of Redis publish and subscribe in Redis 7.0_Improvements in parsing the event loop mechanism

Redis7.0's Pub/Sub does not freeze in the cluster. The core is the introduction of ShardedPub/Sub: it is distributed to the target node according to channel hash routing, avoiding cluster-wide broadcasts, significantly reducing network and CPU overhead, and SSUBSCRIBE/SPUBLISH needs to be explicitly enabled.

Apr 23, 2026 am 07:51 AM
redis red
How does Redis determine whether the currently eliminated key is a large key or a small key_Use Redis-rdb-tools to analyze the data structure to find out the memory occupiers

How does Redis determine whether the currently eliminated key is a large key or a small key_Use Redis-rdb-tools to analyze the data structure to find out the memory occupiers

redis-cli--bigkeys only counts the number of elements rather than the actual memory usage, so it is easy to misjudge big keys. You should use MEMORYUSAGE or redis-rdb-tools to analyze the RDB to obtain accurate memory distribution, and identify false big keys and real hidden dangers based on encoding, element size and other characteristics.

Apr 23, 2026 am 07:48 AM
redis red
What to do if the number of Redis cluster connections is too high_Load balancing through cluster proxy solutions such as Twemproxy

What to do if the number of Redis cluster connections is too high_Load balancing through cluster proxy solutions such as Twemproxy

The typical manifestation of the Redis cluster connection number being full is that the client reports an error "ERRmaxnumberofclientsreached" or connected_clients continues to be close to maxclients; the hidden manifestation is connection timeout, Connectionrefused, etc., but the CPU memory is normal.

Apr 23, 2026 am 07:45 AM
redis proxy red
How to query the slot of the Key in the Redis cluster_Use the CLUSTER KEYSLOT command to locate it accurately

How to query the slot of the Key in the Redis cluster_Use the CLUSTER KEYSLOT command to locate it accurately

CLUSTERKEYSLOT only performs CRC16(key)mod16384 calculation and returns slot numbers from 0 to 16383. It does not query cluster topology or node information. To locate a specific instance, you need to cooperate with CLUSTERSLOTS or CLUSTERNODES to find the node to which the slot belongs.

Apr 23, 2026 am 07:42 AM
redis red

Hot tools Tags

Undress AI Tool

Undress AI Tool

Undress images for free

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

ArtGPT

ArtGPT

AI image generator for creative art from text prompts.

Stock Market GPT

Stock Market GPT

AI powered investment research for smarter decisions

Popular tool

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use