Questions tagged [configuration]
Configuration is an arrangement of functional units according to their nature, number, and chief characteristics.
211 questions
5
votes
3
answers
524
views
How do I decide whether an option belongs in an environment variable, command-line option, or both?
I am working on an executable program - an application or utility. At some point, I want to introduce a new option (to be considered at run-time rather than build-time); the option may be boolean, ...
0
votes
2
answers
433
views
How to implement a server application that can reload configuration without restart
I have a game server implemented in Python to which clients can connect and play against each other.
I'd like to be able to reload configuration from a config file without restarting the server (as ...
2
votes
2
answers
1k
views
How can I manage validation logic for 150+ screens with unique business rules across microservices?
Currently, I'm working on an application with a microservice architecture. Each screen may corresponds to a separate microservice, and each screen has its own unique validation logic. Some screens ...
5
votes
6
answers
1k
views
What are the benefits of configuration languages over just using the source language?
TL;DR why do people pick YAML/JSON/ini/TOML/XML/plain text to configure applications/packages instead of having the configuration be defined in source files the application/package is written in? I ...
35
votes
7
answers
7k
views
How can we avoid extremely complex configurations in enterprise software?
This is the situation that I've seen two times in a row already.
A company makes software intended to be sold to other companies. So there will be relatively few clients, but each is an important one. ...
1
vote
2
answers
626
views
Where to put DLL specific settings?
I'm not sure how to manage configuration settings in a C#/.NET environment. For simplicity lets say I have 3 assemblies: My MainApplication is the project being started and containing the business ...
35
votes
6
answers
10k
views
SQL as a means of avoiding "releases"
The system I'm working on started as a small training project within the company I work for but quickly caught interest from management as a means to help to standardize the existing excel-heavy ...
18
votes
5
answers
4k
views
What Semantic Version increment to use for a filename change?
I have a program that runs on command-line, let's call it myprogram 1.0.1. It's published on GitHub.
Now I discovered that name already exist for a well-know software, so I want to change the name ...
0
votes
5
answers
338
views
Should I "modularize" my configuration file into different files?
I have a simulation in Python which reads its configuration from a toml file. Since I have tons of parameters, the toml file can grow quite large.
This is an example file, similar in structure to my ...
0
votes
1
answer
1k
views
How to handle config/env vars in a library project
I am building a new Python library project to be consumed by several of my application projects. The existing code consumes environment variables for various configuration settings. Should my ...
0
votes
1
answer
517
views
Should Configurations Be Split To Different Microservices?
As part of a microservice-based system design, I'm struggling to decide where system configurations should reside in terms of domain ownership.
For example, let's assume I'm designing a "store ...
13
votes
8
answers
5k
views
In what configuration file format do regular expressions not need escaping?
I want a configuration file for a .NET program.
This file is to configure pairs of regular expressions.
The regular expressions belong within a hierarchy of sections.
Section1
SubsectionA
...
-1
votes
2
answers
2k
views
Configuration of a staging environment vs production environment
For our software development process we used to set up 3 environments : integration , QA and master.
Recently it was decided to add a new staging environment that shall mirror the production ...
1
vote
3
answers
6k
views
"Hard coded" vs. configuration files for values in libraries? (code organization question)
I'm trying to get a good understanding as to whether there is a best practice or standard regarding keeping values within your code libraries or referencing them from another config file. I don't ...
1
vote
1
answer
270
views
Improvement of the config file management
I am working on a personal project for more than 6 months now, this project is composed of three distinct parts, simulation (wrapping a software),
database related stuff (store the simulated data in a ...
0
votes
2
answers
170
views
How to generate frontend URLs in a "12 factor app" service?
I'm working on a system with a user-facing frontend and with 1-n backend services which I'm trying to design according to the principles of the Twelve-Factor App.
I'm now facing the task of sending ...
2
votes
1
answer
170
views
Ask for suggestion: data type for parsing stringified fractional numbers
I am the author of a C library for parsing INI files. So far I have delegated the task of parsing values as numbers to the standard atoi() family of functions. However I think time has come that I ...
1
vote
1
answer
645
views
How to design config files for each environment in github?
I have a list of application configs and business configs in a particular root folder inside our git repository.
Below is our current structure as of now:
We have a root Data folder and inside that ...
0
votes
4
answers
643
views
app.config prevent end users from modifying it
On our product there are many config files (we have many processes)
For "logicical" configuration, we store all configuration in a document based database and then distribute the configuration to ...
1
vote
2
answers
598
views
C# - Generic Configurable Condition checker at Runtime - Achievement System
I'm writing a "generic" achievement system for my MMORPG project, it needs to be friendly & efficient for my game designers (without having to write code to add new achievements).
If anyone got ...
1
vote
1
answer
277
views
Managing Multiple Applications With Similar Configuration Files
From the .Net perspective (C#, VB, etc.) and MSSQL, I have noticed that for a set of applications (maintained by the same development team) typically have the same defined configuration for connecting ...
1
vote
0
answers
67
views
Managing config (environment variables) shared by many applications (lambda functions)
In AWS I've got lots (dozens) of lambda functions. As my organization has gained experience with AWS, we've gone through various generations of infrastrucure around building and maintaining our ...
0
votes
1
answer
323
views
How to batch organize configuration files?
I've got a program for analyzing specific folders / websites.
The program always does the same steps for each folder and website.
Therefore I've used JSON files to store configuration (domain name, ...
2
votes
1
answer
1k
views
How to configure front-end web application from environment?
I'm working on a relatively thin front-end web application that talks to an API. Depending on where this front-end application is served from (CI server, staging server, production server, etc.) I ...
1
vote
1
answer
563
views
Advice on designing a scraper DSL
I am creating a DSL for a scraping library I am writing. I would like advice on how to design a DSL, and if the designs I have below are good ones. Apologies if this is an open-ended question, but it ...