Tag

DataSource

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 1, 2025 · Backend Development

Master Spring Boot 3 DataSource: 8 Practical Connection Management Techniques

This article presents a comprehensive Spring Boot 3 tutorial that explains how the framework manages database connections, introduces eight built‑in DataSource control methods, and provides detailed code examples for configuring HikariCP, using DataSourceUtils, SmartDataSource, TransactionAwareDataSourceProxy, and transaction managers.

DataSourceJavaSpring Boot
0 likes · 12 min read
Master Spring Boot 3 DataSource: 8 Practical Connection Management Techniques
Selected Java Interview Questions
Selected Java Interview Questions
Mar 29, 2024 · Backend Development

Dynamic Multi-DataSource Management and Transaction Handling in Spring

This article explains how to dynamically manage multiple data sources and ensure transaction consistency across a master and several application databases in Spring by extending AbstractRoutingDataSource, using configuration‑file and database‑table solutions, and implementing a custom multi‑database transaction manager.

DataSourceDynamicRoutingJava
0 likes · 15 min read
Dynamic Multi-DataSource Management and Transaction Handling in Spring
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 7, 2023 · Backend Development

Mastering Read‑Write Splitting in Spring Boot 2.2 with AOP

This guide demonstrates how to implement a one‑write‑multiple‑read data source strategy in Spring Boot 2.2 using AOP, configurable pointcuts, custom routing, load‑balancing algorithms, and a reusable starter that can be packaged as a Maven jar.

AOPDataSourceJava
0 likes · 9 min read
Mastering Read‑Write Splitting in Spring Boot 2.2 with AOP
Top Architect
Top Architect
May 12, 2023 · Backend Development

Dynamic DataSource Switching and Multi‑Database Transaction Management in Spring

This article explains how to dynamically manage and switch multiple Spring data sources, compares configuration‑file and database‑table approaches, introduces custom DataSource management interfaces, and presents a comprehensive solution for handling multi‑database transactions with custom annotations and AOP.

DataSourceDynamicRoutingJava
0 likes · 14 min read
Dynamic DataSource Switching and Multi‑Database Transaction Management in Spring
IT Xianyu
IT Xianyu
Apr 19, 2023 · Databases

Robustdb: A Lightweight Read‑Write Splitting Solution for Java Applications

This article introduces Robustdb, a compact open‑source read‑write separation framework built with about ten classes and two thousand lines of code, explains its architecture, routing logic, method‑level transaction handling, dynamic data‑source management, and performance advantages over existing solutions like Atlas.

DataSourceJavaRead-Write Splitting
0 likes · 15 min read
Robustdb: A Lightweight Read‑Write Splitting Solution for Java Applications
Java Architecture Diary
Java Architecture Diary
Dec 19, 2022 · Backend Development

How to Add a Custom PostgreSQL Plugin to Nacos 2.2+ via SPI

Starting with Nacos 2.2.0, you can inject multiple data source plugins via the SPI mechanism; this guide walks through adding a PostgreSQL plugin, importing the required Maven dependencies, loading the database script, configuring connection details, and setting the datasource platform in application.properties.

DataSourceNacosPostgreSQL
0 likes · 3 min read
How to Add a Custom PostgreSQL Plugin to Nacos 2.2+ via SPI
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 16, 2021 · Backend Development

Master Custom Data Sources and JPA Configuration in Spring Boot

This guide walks through configuring custom and multiple data sources, using Spring Data repositories, fine‑tuning JPA and Hibernate settings, customizing naming strategies, enabling second‑level caching, and exposing repositories as REST endpoints in a Spring Boot 2.4.13 application.

DataSourceHibernateJPA
0 likes · 10 min read
Master Custom Data Sources and JPA Configuration in Spring Boot
Big Data Technology Architecture
Big Data Technology Architecture
Mar 10, 2021 · Big Data

Implementing a Spark DataSource for REST JSON Interfaces

This article explains how to create a custom Spark DataSource that reads JSON data from a standard REST API, covering the design of DefaultSource, schema inference, data fetching, and integration with Spark SQL for seamless downstream processing.

BigDataDataSourceJSON
0 likes · 12 min read
Implementing a Spark DataSource for REST JSON Interfaces
AntTech
AntTech
Jul 2, 2020 · Operations

Innovative Design and Implementation of the Barad‑Dur Custom Monitoring Dashboard

This article introduces the Barad‑Dur custom monitoring dashboard of Ant Monitoring, detailing its WYSIWYG editor, advanced interaction features, controller concept, extensible data‑source architecture, unified time‑series format, scene‑graph inspired layout engine, and future roadmap for cloud‑native observability.

DashboardDataSourceWYSIWYG
0 likes · 12 min read
Innovative Design and Implementation of the Barad‑Dur Custom Monitoring Dashboard
Architect's Tech Stack
Architect's Tech Stack
Dec 20, 2019 · Backend Development

Read‑Write Splitting with Spring Boot, MyBatis and a Custom Routing DataSource

This article demonstrates how to implement database read‑write splitting in a Spring Boot application by configuring multiple MySQL data sources, creating a custom AbstractRoutingDataSource, using ThreadLocal routing keys, and applying AOP to switch between master and slave databases for CRUD operations.

AOPDataSourceJava
0 likes · 13 min read
Read‑Write Splitting with Spring Boot, MyBatis and a Custom Routing DataSource
JD Retail Technology
JD Retail Technology
Jul 18, 2018 · Mobile Development

Understanding Android Paging Library: Architecture, Components, and Usage

This article explains the Android Paging Library introduced in Google I/O 2018, covering its background, architecture, core components such as DataSource and PagedList, loading flow, and step‑by‑step usage with Gradle, LiveData, and RecyclerView adapters for efficient pagination in mobile apps.

AndroidArchitecture ComponentsDataSource
0 likes · 9 min read
Understanding Android Paging Library: Architecture, Components, and Usage
JD Tech
JD Tech
Jul 17, 2018 · Mobile Development

Understanding Android Paging Library: Architecture, Components, and Usage

This article introduces Android Jetpack's Paging Library, explains its architecture—including DataSource, PagedList, and adapters—details the data loading flow, and provides step‑by‑step guidance on integrating the library into a mobile app using Gradle, LiveData, and RecyclerView.

AndroidDataSourcePagedList
0 likes · 9 min read
Understanding Android Paging Library: Architecture, Components, and Usage
Hujiang Technology
Hujiang Technology
Jan 23, 2018 · Mobile Development

Understanding Android Paging Library: DataSource, PagedList, and PagedListAdapter

This article explains the Android Paging Library’s architecture—including DataSource variants, PagedList configuration, and PagedListAdapter integration—showing how to efficiently load large data sets from single or multiple sources while handling threading, prefetching, and UI updates.

AndroidDataSourcePaging Library
0 likes · 7 min read
Understanding Android Paging Library: DataSource, PagedList, and PagedListAdapter