Git Product home page Git Product logo

bitifier.configuration's People

Contributors

martinknafve avatar

Stargazers

 avatar

Watchers

 avatar

bitifier.configuration's Issues

Ability to target specific instances with overriden configs

It would be nice to add the ability to override the configuration for a specific target.

Usage scenario

  1. You have a configuration at http://azurestorage.com/configs/myapplication.config
  2. You have many instaces of myapplication running, all using the same config file
  3. Some subset of the instances are misbehaving, so you want to enable detailed logging on this subset but not all of the instances. This means you want to change the logging configuration from "info" to "trace" to be able to figure out what is happening
  4. Doing this on all instances is not feasible since it would overwhelm the logging system, but doing it on a subset is ok

Simple solution

This solution doesn´t scale well but it gives some nice benefits. The suggestion is to make Bitifier.Configuration do two requests each time it looks for updated configs. One to an instance specific url and the other one to the specified configuration url.

http://azurestorage.com/configs/myapplication.config<.instanceid>

This way it would be easy to enable features of specific instaces for different purposes.

Scaling, more advanced solution

A solution that would scale better could be to include multiple versions of the config in the encrypted file along with metadata that specifies which instances the config is valid for (a regexp or an ip range maybe).

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.