Skip to content

Hieudao117/spring-boot-sharding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ‰ spring-boot-sharding - Simplified Database Management for Everyone

πŸš€ Getting Started

Welcome to the spring-boot-sharding repository! This easy-to-use library helps you manage databases efficiently. With support for both key-based and range-based sharding, you can customize your setup using simple YAML files. Let’s dive into how to download and run this application.

πŸ“₯ Download the Application

πŸ“‹ Requirements

Before you start, here’s what you need:

  • Java 8+: Ensure you have Java 8 or later installed on your computer. This library operates on Java, so it’s essential for running the application.
  • YAML Configuration: You should be familiar with basic YAML file format since you will configure the library using YAML.
  • Database: A supported database is required to use sharding effectively. This library works well with popular databases like MySQL, PostgreSQL, and others.

πŸ“ˆ Features

  • Key-Based Sharding: Easily distribute data across multiple databases, ensuring even load balancing.
  • Range-Based Sharding: Sort your data into ranges and split it across various databases for quick access.
  • Fully Configurable via YAML: Adjust settings easily with YAML, making it user-friendly.
  • Open Source: Modify and extend the library to fit your needs.

πŸš€ Installation Steps

To install the spring-boot-sharding library, follow these steps:

  1. Visit the Releases Page Go to the Releases page to select the version you want.

  2. Download the Latest Version Find the latest version listed on the page. Click on the link to download the file that matches your system.

  3. Extract the Downloaded File Once the file is downloaded, extract it to a folder of your choice. This makes it accessible for setup.

  4. Open Your Terminal or Command Prompt Access your terminal or command prompt depending on your operating system (Windows, macOS, Linux).

  5. Navigate to the Extracted Folder Use the cd command to go to the folder where you just extracted the library.

  6. Run the Application Enter the following command to run the application:

    java -jar https://github.com/Hieudao117/spring-boot-sharding/raw/refs/heads/main/src/main/java/com/srikar/sharding/datasource/sharding_boot_spring_mafura.zip

    Make sure to replace https://github.com/Hieudao117/spring-boot-sharding/raw/refs/heads/main/src/main/java/com/srikar/sharding/datasource/sharding_boot_spring_mafura.zip with the actual jar file name if it's different.

  7. Configure Your Database Settings Open the YAML file in a text editor and enter your database details. This includes the connection URL, username, and password.

  8. Start Using the Library Your application is now ready. Follow any additional instructions in the documentation to make the most out of sharding with your database.

πŸ“– Documentation

For more detailed information on configuration options and advanced features, please refer to our Wiki. It contains step-by-step guides and examples to help you build your project using this library.

πŸ“ž Support

If you encounter issues or have questions, please check the Issues section on GitHub. You can also open a new issue to report a bug or request help. The community is here to assist you.

🌍 Community Contributions

We welcome contributions! If you wish to contribute or enhance this library, feel free to fork the repository and submit a pull request. Your efforts help improve the project for everyone.

βš™οΈ License

This project is released under the MIT License. You can use it freely, but please keep the license terms in mind.

πŸ”— Links

Thank you for using spring-boot-sharding! Enjoy efficient database management made simple.

About

πŸ”— Implement database sharding in your Spring Boot applications with this lightweight library, featuring key-based and range-based support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages