Handling Multiple Parameters in MyBatis Queries

Introduction In database persistence layers, it is common to encounter scenarios where a SQL query requires multiple input parameters that do not belong to a single specific entity class. When the parameters are disparate types or loose collections of data, specific binding strategies are required. Below are two standard approaches to handle mu ...

Posted on Wed, 15 Jul 2026 16:47:33 +0000 by zhTonic

Comprehensive Guide to Redis Configuration Parameters

Memory Units and General SettingsRedis configuration supports standard memory units. Units are case-insensitive, meaning 1GB, 1Gb, and 1gb are equivalent.1kb = 1024 bytes1k = 1000 bytes1mb = 1024*1024 bytes1m = 1000000 bytesBy default, Redis runs in the foreground. To run as a background daemon, modify the daemonize setting.daemonize yes pidfil ...

Posted on Tue, 14 Jul 2026 17:14:02 +0000 by hhheng

Redis High Availability, Persistence, and Performance Optimization Guide

Redis High Availability High availability in web servers refers to the time during which a service remains accessible, typically measured by uptime percentages (99.9%, 99.99%, 99.999%). In the Redis context, high availability encompasses more than just service availability—it also involves data capacity scaling, data durability, and rapid disas ...

Posted on Sat, 11 Jul 2026 16:13:37 +0000 by jrforrester

ActiveMQ Persistence Storage Mechanisms and Configuration

Message Broker Availability Mechanisms Message queues ensure reliable delivery through built-in features like transactions, durable delivery, and client acknowledgments. External persistence storage provides an additional layer of fault tolerance, safeguarding data against unexpected broker crashes. Core Persistence Logic Persistence mechanis ...

Posted on Thu, 09 Jul 2026 16:00:15 +0000 by roustabout

Redis Data Persistence and Memory Eviction Strategies

Redis Persistence Mechanisms RDB Snapshotting RDB (Redis Database) persistence captures a point-in-time snapshot of the dataset in memory and writes it to disk as a binary file. During recovery, Redis loads this file directly into memory. Triggering Methods Manual Triggers SAVE: Blocks the main thread until the snapshot is fully written — no o ...

Posted on Sun, 28 Jun 2026 17:48:46 +0000 by thesimon

Redis Explained: Core Concepts, Data Models, and Advanced Features

Understanding Redis Performance Redis is renowned for its exceptional speed, a characteristic derived from several fundamental design choices: In-Memory Operation: As a memory-based data store, Redis inherently benefits from the much faster read and write speeds of RAM compared to disk I/O. Optimized Data Structures: It leverages highly effici ...

Posted on Sat, 27 Jun 2026 17:25:07 +0000 by bloo

Redis Cache Technology: Installation, Configuration, and Advanced Usage

Redis Installation and Setup Redis 5.0+ requires GCC 9.0 or higher for compilation. # Download and extract wget http://download.redis.io/releases/redis-3.2.12.tar.gz tar xzf redis-3.2.12.tar.gz mv redis-3.2.12 /data/redis # Build from source cd /data/redis make # Configure environment vim /etc/profile export PATH=/data/redis/src:$PATH source ...

Posted on Wed, 17 Jun 2026 18:02:12 +0000 by blackwinged

Deep Dive into Redis Persistence Mechanisms: RDB and AOF

Redis operates as an in-memory data store, leveraging RAM to achieve high-speed data access. While the primary design goal is performance, relying solely on memory introduces a risk of data loss during power outages or process failures. To mitigate this, Redis provides robust persistence mechanisms to save the in-memory state to disk, allowing ...

Posted on Tue, 16 Jun 2026 16:21:29 +0000 by TheSeeker

Effortless Local Setup: Managing INFINI Console and Easysearch with the start-local Script

Previous Overview and Introduction In our series on setting up the INFINI local environment: The first article, "Setting Up a Persistent INFINI Console and Easysearch Container Environment," explored how to use basic docker run commands to build the Console and Easysearch services step by step, with a focus on solving data persistenc ...

Posted on Tue, 09 Jun 2026 17:41:10 +0000 by Innovative_Andy

Implementing Persistence with MyBatis and MyBatis-Plus: A Technical Overview

Understanding MyBatis Core Concepts MyBatis operates as a first-class persistence framework that simplifies database interaction by coupling SQL statements with Java objects. It abstracts the complexities of manual JDBC coding, including resource management and result set extraction. By utilizing XML descriptors or annotations, developers map p ...

Posted on Sat, 16 May 2026 12:39:47 +0000 by o3d