Redis Data Types: In-Depth Analysis of Strings and Internal Implementation
Redis (REmote Dicsionary Service) is an open-source, in-memory data structure store used as a database, cache, and message broker. Unlike traditional databases, Redis stores data primarily in memory, enabling extremely high throughput (often exceeding 100,000 operations per second) and low latency access.
While it is commonly recognized for its ...
Posted on Sat, 23 May 2026 22:14:59 +0000 by Toy
11 Approaches to Implementing Delayed Tasks in Java
Delayed tasks are common in real-world applications, such as canceling orders after payment timeout or automatically confirming deliveries. This article analyzes 11 different ways to implement delayed tasks, from implementation to underlying principles. Each approach has its own strengths and suits different scenarios.
DelayQueue
DelayQueue is ...
Posted on Thu, 21 May 2026 19:27:12 +0000 by Bhaal
Practical Redis: Session Management, Caching, Flash Sales, and Advanced Data Structures
Stateless Authentication with RedisIn a distributed architecture, relying on Tomcat's local sessions for user state leads to inconsistencies across instances. Redis serves as a centralized session store to solve this. When a user logs in via SMS, a unique token is generated and stored in Redis as the key, with the serialized user DTO as the val ...
Posted on Thu, 21 May 2026 18:30:50 +0000 by JohnN4
Implementing Backend CAPTCHA Validation with ASP.NET Core and Vue.js
Implemanting Backend CAPTCHA Validation with ASP.NET Core and Vue.js
While client-side CAPTCHA logic can be implemented, it often presents security concerns. A more robust approach involves generating and validating CAPTCHA codes on the server side. This method is essential for applications deployed in intranet environments where third-party se ...
Posted on Wed, 20 May 2026 20:46:03 +0000 by kuri7548
Using Redis Caching in MyBatis Operations with Spring Boot
In the previous article, we explored Spring Boot integration with Redis. This article focuses on implementing Redis caching in MyBatis operations. We'll examine four key annotations: @CachePut, @Cacheable, @CacheEvict, and @CacheConfig.
Fundamentals
@Cacheable
The @Cacheable annotation configures method-level caching, storing results based on m ...
Posted on Wed, 20 May 2026 07:19:39 +0000 by santhosh_89
Automating Zabbix Agent and Redis Deployments with SaltStack
Deploying the Zabbix Monitoring Agent
Establish the required directory hierarchy within the Salt base environment to separate system initialization tasks from application-specific configurations.
mkdir -p /srv/salt/base/{init/zabbix_epel,zabbix_agent/templates}
Configure the EPEL repository to ensure dependency resolution works correctly. Dow ...
Posted on Wed, 20 May 2026 06:30:43 +0000 by gatoruss
Docker Commands for Common Infrastructure Services
1. MySQL
4. Elasticsearch
docker run -d
--name=es
-p 9200:9200 -p 9300:9300
-e discovery.type=single-node
-e ES_JAVA_OPTS="-Xms256m -Xmx512m"
-v /es/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
-v /es/data:/usr/share/elasticsearch/data
-v /es/plugins:/usr/share/elasticsearch/plugins
ela ...
Posted on Wed, 20 May 2026 00:15:10 +0000 by Mr Camouflage
Redis Cluster Architecture and Data Distribution
Redis cluster addresses storage limitations by distributing data across multiple master-slave node groups. Unlike sentinel mode, where all nodes store complete datasets, cluster mode partitions data to reduce individual node pressure.
Data Partitioning Strategies
Hash Modulo Approach
This method applies a hash function to keys and uses modulo o ...
Posted on Tue, 19 May 2026 23:24:58 +0000 by phpion
Enterprise Java Backend Technical Interview Reference
Microservices Architecture Stack
Modern distributed systems leverage Spring Cloud Alibaba ecosystem combined with containerized deployement. Core infrastructure components include Nginx for edge traffic management, Spring Cloud Gateway for centralized authentication and routing, Nacos for service discovery and dynamic configuration, Sentinel fo ...
Posted on Tue, 19 May 2026 01:38:50 +0000 by cody44
Understanding and Mitigating Common Cache Issues: Penetration, Breakdown, and Avalanche
Cache Penetration
Cache penetration occurs when a large number of requests target data that exists neither in the cache nor in the database. For example, if users repeatedly request non-existent order numbers like -1, these requests bypass the cache entirely and hit the database directly. This scenario can be exploited maliciously to overwhelm ...
Posted on Mon, 18 May 2026 23:33:18 +0000 by yes3no2