Tag

Data Isolation

1 views collected around this technical thread.

Code Ape Tech Column
Code Ape Tech Column
May 13, 2025 · Backend Development

Elegant Multi‑Tenant Data Isolation with MyBatis‑Plus in SaaS Applications

This article explains the concept of SaaS multi‑tenant architecture, compares three data‑isolation designs, and demonstrates how to implement elegant tenant‑level data isolation in Java using MyBatis‑Plus’s tenant plugin, complete with configuration, handler code, SQL examples, and troubleshooting tips.

Data IsolationJavaMyBatis-Plus
0 likes · 15 min read
Elegant Multi‑Tenant Data Isolation with MyBatis‑Plus in SaaS Applications
Java Tech Enthusiast
Java Tech Enthusiast
Apr 29, 2025 · Backend Development

Implementing Data Isolation with MyBatis Interceptor and Custom Annotations

The article describes how to enforce environment‑based data isolation in a shared database by adding an env column, using a MyBatis interceptor to inject and filter this field at runtime, and employing a custom @InvokeChainSkipEnvRule annotation with AOP to selectively bypass the rule, keeping existing code untouched.

AOPCustom AnnotationData Isolation
0 likes · 9 min read
Implementing Data Isolation with MyBatis Interceptor and Custom Annotations
Java Captain
Java Captain
Apr 22, 2025 · Backend Development

Implementing Data Isolation with MyBatis Interceptor and Custom Annotations in Java

This article describes how to achieve multi‑environment data isolation in a Java backend by adding an env field to tables, using a MyBatis interceptor with JSqlParser to rewrite SQL, and applying custom annotations and AOP to control environment‑specific logic while preserving existing business code.

Custom AnnotationData IsolationInterceptor
0 likes · 9 min read
Implementing Data Isolation with MyBatis Interceptor and Custom Annotations in Java
Selected Java Interview Questions
Selected Java Interview Questions
Apr 2, 2025 · Backend Development

Implementing Environment-Based Data Isolation in MyBatis with Custom Interceptors and Annotations

This article describes a practical approach to achieve environment-based data isolation in a Java application by adding an 'env' field to tables, using a custom MyBatis interceptor to rewrite SQL, and defining annotations with AOP to control environment filtering, while discussing challenges and refactoring considerations.

AOPAnnotationsCustom Interceptor
0 likes · 12 min read
Implementing Environment-Based Data Isolation in MyBatis with Custom Interceptors and Annotations
macrozheng
macrozheng
Mar 4, 2025 · Backend Development

How to Implement Data Isolation in Spring Boot with MyBatis and JSqlParser

This article explains how to achieve data isolation in a Spring Boot application by creating a MyBatis interceptor that uses JSqlParser to parse and modify SQL statements at the prepare stage, covering tool introductions, dependency setup, interceptor code, testing examples, and the reasoning behind intercepting the prepare method.

Data IsolationJSqlParserMyBatis
0 likes · 14 min read
How to Implement Data Isolation in Spring Boot with MyBatis and JSqlParser
Code Ape Tech Column
Code Ape Tech Column
Feb 10, 2025 · Backend Development

Implementing Data Isolation in Spring Boot with MyBatis Interceptor and JSqlParser

This article explains how to achieve data isolation in a Spring Boot application by using a MyBatis interceptor that leverages JSqlParser to parse and modify SQL statements at the StatementHandler.prepare stage, covering tool introductions, dependency setup, interceptor implementation, testing examples, and the rationale behind intercepting the prepare method.

Data IsolationJSqlParserMyBatis
0 likes · 13 min read
Implementing Data Isolation in Spring Boot with MyBatis Interceptor and JSqlParser
Selected Java Interview Questions
Selected Java Interview Questions
Feb 5, 2025 · Backend Development

Implementing Data Isolation in Spring Boot with MyBatis Interceptor and JSqlParser

This article demonstrates how to achieve data isolation in a Spring Boot application by creating a MyBatis interceptor that modifies SQL statements using JSqlParser, covering tool introductions, dependency setup, interceptor implementation, testing for SELECT/INSERT/UPDATE/DELETE, and the rationale for intercepting the prepare method.

Data IsolationJSqlParserMyBatis
0 likes · 14 min read
Implementing Data Isolation in Spring Boot with MyBatis Interceptor and JSqlParser
Beijing SF i-TECH City Technology Team
Beijing SF i-TECH City Technology Team
May 30, 2024 · Operations

Design and Practice of a Full-Link Load Testing Platform

This article describes the motivation, core design, technical choices, data and traffic isolation mechanisms, and implementation steps of a self‑developed full‑link load testing platform that enables production‑environment testing, reduces machine costs, and improves system stability and performance monitoring.

Data IsolationDistributed TestingSystem Stability
0 likes · 11 min read
Design and Practice of a Full-Link Load Testing Platform
Architect's Guide
Architect's Guide
May 4, 2024 · Backend Development

Data Isolation and Environment Switching in MyBatis Using a Custom Interceptor and Annotations

This article describes how to achieve database environment isolation and flexible data sharing in a Java backend by adding an env field, customizing a MyBatis interceptor to rewrite SQL, and defining reusable annotations to control environment filtering across services.

Custom AnnotationData IsolationInterceptor
0 likes · 9 min read
Data Isolation and Environment Switching in MyBatis Using a Custom Interceptor and Annotations
Java Architect Essentials
Java Architect Essentials
Apr 9, 2024 · Backend Development

Implementing Data Isolation in Java Applications Using MyBatis Interceptor and Custom Annotations

This article describes a Java data isolation solution that adds an 'env' field to tables, uses a MyBatis interceptor to rewrite SQL for environment‑aware queries, and introduces custom annotations with AOP to selectively skip environment checks, detailing implementation, challenges, and best practices.

AOPCustom AnnotationData Isolation
0 likes · 13 min read
Implementing Data Isolation in Java Applications Using MyBatis Interceptor and Custom Annotations
DataFunTalk
DataFunTalk
Jan 23, 2024 · Big Data

Data Development Production Environment Isolation: Practices and Solutions at Xiaomi

This article details Xiaomi's approach to isolating production environments for data development, covering platform evolution, security and quality challenges, physical versus logical isolation techniques, productization steps, implementation roadmap, business impact, and practical Q&A insights.

Big DataData IsolationData Platform
0 likes · 19 min read
Data Development Production Environment Isolation: Practices and Solutions at Xiaomi
Selected Java Interview Questions
Selected Java Interview Questions
Dec 5, 2023 · Backend Development

Implementing Data Isolation in Java Applications Using MyBatis Interceptor and Custom Annotations

This article describes a practical approach to achieve environment‑based data isolation in Java services by adding an env field to tables, using a MyBatis interceptor to rewrite SQL, and defining custom annotations with AOP to control the isolation logic, while sharing code snippets and lessons learned.

Backend DevelopmentCustom AnnotationData Isolation
0 likes · 9 min read
Implementing Data Isolation in Java Applications Using MyBatis Interceptor and Custom Annotations
DataFunSummit
DataFunSummit
Jul 12, 2023 · Big Data

Data Development Production Environment Isolation: Xiaomi's Experience, Technical Choices, and Implementation

This article explains Xiaomi's approach to isolating production environments for data development, covering the evolution of its data platform, the trade‑offs between physical and logical isolation, the productized workflow and security measures, and real‑world outcomes from the deployment.

Data IsolationWorkflow Automationbig data platform
0 likes · 18 min read
Data Development Production Environment Isolation: Xiaomi's Experience, Technical Choices, and Implementation
Code Ape Tech Column
Code Ape Tech Column
Jun 7, 2023 · Backend Development

Elegant Multi‑Tenant Data Isolation with MyBatis‑Plus in SaaS Systems

This article explains the concept of SaaS multi‑tenant architecture, compares three data‑isolation designs, and demonstrates how to implement elegant tenant data isolation in Java using MyBatis‑Plus’s tenant plugin, including configuration, code examples, and practical considerations.

Data IsolationJavaMyBatis-Plus
0 likes · 17 min read
Elegant Multi‑Tenant Data Isolation with MyBatis‑Plus in SaaS Systems
vivo Internet Technology
vivo Internet Technology
Jan 26, 2022 · Backend Development

Vivo Comment Middleware: Traffic and Data Isolation Using Dubbo, Sentinel, and MongoDB

The Vivo comment middleware achieves high‑availability, cross‑service comment publishing by using Dubbo tag‑routing for traffic isolation, Sentinel hotspot‑parameter flow control with dynamic per‑tenant limits, and both physical and logical MongoDB isolation via a multi‑factory selector and runtime collection naming, preventing data leakage across business lines.

Data IsolationDubboMicroservices
0 likes · 14 min read
Vivo Comment Middleware: Traffic and Data Isolation Using Dubbo, Sentinel, and MongoDB
DevOps
DevOps
Nov 17, 2021 · Cloud Native

Key Considerations for Microservice Migration: Dependency Management, Interface Versioning, Isolation, and Data Consistency

The article outlines essential practices for migrating to microservices, covering service dependency rules to avoid circular dependencies, interface version compatibility strategies, isolation techniques for data, deployment and business logic, and methods to ensure eventual data consistency using scheduled retries and transactional messaging.

Data IsolationMicroservicesTransactional Messaging
0 likes · 14 min read
Key Considerations for Microservice Migration: Dependency Management, Interface Versioning, Isolation, and Data Consistency
Architecture Digest
Architecture Digest
Mar 26, 2019 · Operations

Didi's Full‑Chain Load Testing Architecture and Implementation

The article details Didi's end‑to‑end load‑testing strategy—including online environment testing, data isolation with virtual orders, trace‑based traffic marking, and a distributed virtual driver/passenger tool—describing its design, deployment stages, findings, and future reliability applications.

Data IsolationDididistributed simulation
0 likes · 12 min read
Didi's Full‑Chain Load Testing Architecture and Implementation
Youzan Coder
Youzan Coder
Dec 14, 2018 · Operations

Youzan Full‑Link Load Testing Architecture and Implementation

Youzan’s full‑link load‑testing architecture combines a traffic generator, a data‑factory pipeline, and the Maxim platform to replay realistic e‑commerce user actions, tag and isolate test traffic via unified headers, route reads/writes to shadow storage, and integrate Gatling for capacity planning, degradation, alarm, disaster‑recovery and throttling drills.

Big DataData IsolationDistributed Systems
0 likes · 13 min read
Youzan Full‑Link Load Testing Architecture and Implementation