Coder Social home page Coder Social logo

ghokai / backendconfigurationlibrary Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.04 MB

queue based configuration manager library with publisher receiver pattern

C# 44.24% Dockerfile 3.52% HTML 2.31% CSS 1.76% JavaScript 48.18%
react redux redux-thunk react-router-dom asp-net-core mongodb rabbitmq docker docker-compose

backendconfigurationlibrary's Introduction

Backend Configuration Library

  • Queue based dynamic configuration settings management system.
  • Configuration settings of various applications are managed from client applications by making crud operations using configuration server apis
  • Configuration server also periodically fetches configuration settings and publish them on rabbitmq channel by ConfigurationManager.Publisher
  • Registered apps which are using ConfigurationManager.Listener are informed with their configuration settings changes according to their application names and they can access their configuration setting values thanks ConfigurationManager.Listener

To run all system on docker containers

docker-compose up

To run manually

Client application

cd configuration-client
npm install
npm start

cli1 client2 cli3

Server Application

Start Configuration Server application for interact with client application for crud operations and publish configuration settings to rabbitmq queue periodically to inform listener applications according to their applications settings changes

server

Registered (Consumer) Applications

As an example of Listener Application (SampleConsumerWebApiApp), this application will listen rabbitmq queue for their configuration setting changes with their app name and updates itself otomatically according to this changes. So it can otomatically access their configuration values by calling

_configurationListener.GetValue<string>(name);
_configurationListener.GetValue<bool>(name);
_configurationListener.GetValue<int>(name);
_configurationListener.GetValue<double>(name);

sample1 sample2 sample3

Component Diagram of System

image001

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.