awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
baomidou avatar

baomidou/dynamic-datasource

0
View on GitHub↗
5,177 نجوم·1,245 تفرعات·Java·Apache-2.0·3 مشاهداتdoc.xiuceyun.cn↗

Dynamic Datasource

هذا المشروع عبارة عن مدير مصدر بيانات ديناميكي لـ Spring Boot مصمم للتعامل مع اتصالات قواعد بيانات متعددة والتبديل بينها في وقت التشغيل. يوفر نظاماً لإدارة تقسيم القراءة والكتابة في قاعدة البيانات، وتنسيق المعاملات الموزعة عبر قواعد بيانات متباينة، وتحديث إعدادات الاتصال دون الحاجة إلى إعادة تشغيل التطبيق.

يتميز إطار العمل بقدرته على توجيه حركة المرور بناءً على جلسات المستخدم أو الرؤوس لدعم البنى متعددة المستأجرين. كما يتضمن آلية لتشفير بيانات اعتماد قاعدة البيانات الحساسة داخل ملفات التكوين لمنع التعرض للنص العادي.

تمتد مساحة القدرات إلى توجيه اتصال قاعدة البيانات، وتقسيم القراءة والكتابة بين العقد الرئيسية والتابعة، وتهيئة الاتصال الكسول لتقليل وقت البدء. كما يدير اتساق البيانات من خلال التحكم المركزي في المعاملات ويدعم الإضافة أو الإزالة في وقت التشغيل لتكوينات اتصال قاعدة البيانات.

Features

  • Spring Boot Database Access - Provides a framework for Spring Boot that handles multiple database connections and switches between them at runtime.
  • Runtime Connection Configuration - Enables adding or modifying database connection settings without requiring an application restart.
  • Request Routing - Directs requests to specific database groups to support read-write splitting and master-slave replication.
  • Runtime Connection Management - Allows programmatically adding, removing, or switching database connection configurations while the application is running.
  • Dynamic Connection Switching - Evaluates dynamic parameters from sessions or headers to swap active database connections at runtime.
  • Read-Write Splitting - Routes traffic between master and slave databases to optimize performance and load balancing.
  • Tenant Request Routing - Directs application requests to different databases based on user sessions or headers to support multi-tenant architectures.
  • Multi-datasource Configurators - Provides a system for defining and switching between multiple named database connections within a single application.
  • Read-Write Splitting - Optimizes database performance by routing read queries to slave nodes and write queries to the master node.
  • Context-Aware Connection Selection - Determines the target database by retrieving routing keys from thread-local storage or request headers.
  • Dynamic Proxy Routing - Wraps the data source in a proxy that delegates queries to different physical connections based on the current context.
  • Connection Route Switching - Implements AOP-based interception to switch database connections dynamically based on annotations.
  • Secure Database Configurations - Protects sensitive database credentials in configuration files using encryption to prevent plain text exposure.
  • Lazy Connection Initialization - Delays the creation of database connections until the first request occurs to reduce startup time.
  • Lazy Connection Initialization - Postpones the creation of database connection pools until the first request to reduce startup time.
  • Runtime Configuration Refreshes - Updates the internal data source map and connection pools without restarting the application when configuration changes.
  • Credential Encryption - Protects sensitive connection information in configuration files using built-in or custom encryption methods.
  • Distributed Transaction Coordinators - Coordinates commit and rollback operations across multiple data sources by hooking into a distributed transaction coordinator.

سجل النجوم

مخطط تاريخ النجوم لـ baomidou/dynamic-datasourceمخطط تاريخ النجوم لـ baomidou/dynamic-datasource

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Dynamic Datasource

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Dynamic Datasource.
  • pgdogdev/pgdogالصورة الرمزية لـ pgdogdev

    pgdogdev/pgdog

    3,361عرض على GitHub↗

    pgdog is a PostgreSQL sharding proxy, distributed SQL router, and connection pooler. It is designed to enable horizontal data distribution by splitting tables and indices across multiple independent servers to scale storage and processing capacity. The project distinguishes itself through online resharding capabilities, using logical replication to move data between shards without application downtime. It supports multiple routing strategies, including hash, list, and range-based query routing, and manages distributed atomic transactions using a two-phase commit process to ensure consistency

    Rustload-balancerpoolerpostgresql
    عرض على GitHub↗3,361
  • gaarason/database-allالصورة الرمزية لـ gaarason

    gaarason/database-all

    1,033عرض على GitHub↗

    This project is a Java-based object-relational mapping framework that utilizes the active record pattern to simplify database interactions. It provides a comprehensive data access layer that binds database tables directly to application objects, enabling developers to perform CRUD operations, manage complex entity relationships, and execute queries through a fluent, type-safe interface. Designed for integration with Spring Boot, the framework abstracts database complexities while maintaining support for native compilation and asynchronous execution. The framework distinguishes itself through

    Javadatabaseeloquenteloquent-orm
    عرض على GitHub↗1,033
  • go-xorm/xormالصورة الرمزية لـ go-xorm

    go-xorm/xorm

    6,628عرض على GitHub↗

    xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries and maps database rows back into native objects, providing a multi-dialect database driver that supports MySQL, PostgreSQL, SQLite, Oracle, SQL Server, and TiDB. The project features a read-write splitting manager that routes modification requests to a primary database and read requests to replicas. It includes a database schema synchronizer to automatically align table structures and indexes with application data models, as well as a fluent SQL query builder for constructing co

    Gogolangmssqlmysql
    عرض على GitHub↗6,628
  • dotnetcore/freesqlالصورة الرمزية لـ dotnetcore

    dotnetcore/FreeSql

    4,388عرض على GitHub↗

    FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for multiple relational database providers. It functions as a fluent SQL query builder and database schema synchronizer, allowing developers to align database table and index structures with entity class definitions. The framework is specifically optimized for .NET Native AOT to ensure reduced memory footprints and faster startup times. It includes a database traffic manager to distribute load through read-write splitting, dynamic table sharding, and tenant-based data isolation. Bro

    C#accessclickhousecodefirst
    عرض على GitHub↗4,388
عرض جميع البدائل الـ 30 لـ Dynamic Datasource→

الأسئلة الشائعة

ما هي وظيفة baomidou/dynamic-datasource؟

هذا المشروع عبارة عن مدير مصدر بيانات ديناميكي لـ Spring Boot مصمم للتعامل مع اتصالات قواعد بيانات متعددة والتبديل بينها في وقت التشغيل. يوفر نظاماً لإدارة تقسيم القراءة والكتابة في قاعدة البيانات، وتنسيق المعاملات الموزعة عبر قواعد بيانات متباينة، وتحديث إعدادات الاتصال دون الحاجة إلى إعادة تشغيل التطبيق.

ما هي الميزات الرئيسية لـ baomidou/dynamic-datasource؟

الميزات الرئيسية لـ baomidou/dynamic-datasource هي: Spring Boot Database Access, Runtime Connection Configuration, Request Routing, Runtime Connection Management, Dynamic Connection Switching, Read-Write Splitting, Tenant Request Routing, Multi-datasource Configurators.

ما هي البدائل مفتوحة المصدر لـ baomidou/dynamic-datasource؟

تشمل البدائل مفتوحة المصدر لـ baomidou/dynamic-datasource: pgdogdev/pgdog — pgdog is a PostgreSQL sharding proxy, distributed SQL router, and connection pooler. It is designed to enable… gaarason/database-all — This project is a Java-based object-relational mapping framework that utilizes the active record pattern to simplify… go-xorm/xorm — xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries… dotnetcore/freesql — FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for… xkcoding/spring-boot-demo — This project is a comprehensive reference collection of practical implementation examples and patterns for building… thinkgem/jeesite — Jeesite is a full-stack low-code development framework designed for building enterprise administrative portals using…