Distributed Configuration management platform--xxl-cfg (written in spare time, perfect)

Source: Internet
Author: User

Premise:

In general, the resource directory for Web projects typically configures a heap of properties profiles or txt profiles, such as JDBC, Mail, memcached, Redis, and the property profiles required for business, and so on.

However, in a clustered environment, configuration changes can cause two problems:

1, need to modify the project configuration file under each cluster node, even need to recompile packaging;

2, need to restart the server;

3, rd/qa/production, each environment usually need to maintain a different configuration;

This paper is mainly to solve the above problems, in the distributed environment, unified management project configuration file;

Introduction: Xxl-cfg

Distributed Configuration Management platform: A complete unified solution of distributed configuration based on zookeeper.

Main objectives:

1, simplified deployment: The same on-line package, no need to change the configuration, you can in a number of environments (research and development rd/test qa/Line production) on-line.

2, dynamic Deployment: Change the configuration, no need to repack or restart, can be effective in real time.

3, unified Management: Provide a web platform, unified management of multiple environments (rd/qa/production), all configurations of multiple products.

Use the Tutorial:

The first step: the Project Server with address configuration ZK address, support cluster;

The first step: introduce the client side jar, all the configuration items are obtained through this client-provided method, the query method is local cache, do not worry about ZK pressure;

Part II: All over;

Project Progress:

The first version of coding has ended, temporary code hosting git private library, self-test and refinement, managed to git Common library;

Some of the following monitor are included:

Page1: Login Box

Page2: Configuration Action page

Page3: Project log (after configuration update, sync to all cluster projects)

Distributed Configuration management platform--xxl-cfg (written in spare time, perfect)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.