You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- 2How do you define what is configuration and what is data though?nafg– nafg2016-10-26 03:22:50 +00:00Commented Oct 26, 2016 at 3:22
- 6Your answer doesn't explain why storing a configuration in a database violates separation of concerns (the concern of a database is to store data; it doesn't care what data you store there), or why this is a bad thing, and your answer is now being cited elsewhere as proof that it's a bad thing.Robert Harvey– Robert Harvey2017-08-25 14:59:25 +00:00Commented Aug 25, 2017 at 14:59
- 1databases can change on demand. we can have them being asynchronous like mysql. Does static files support this? HELL NO! So I downvote :)Amir Hossein Baghernezad– Amir Hossein Baghernezad2017-09-19 09:15:54 +00:00Commented Sep 19, 2017 at 9:15
- 1@AmirHossein Static files support change on demand as long as they're not locked. That's no argument.Zimano– Zimano2019-07-09 18:13:39 +00:00Commented Jul 9, 2019 at 18:13
- @AmirHossein +1 to the notion your argument is flawed. The conclusion you reach is convincing only if you ignore (possibly more common) use cases. If you feel the config needs to be "asynchronous" then (if I understand what you meant by that) then you can pull the config files from a Object Storage microservice. As you say, databases "change on demand" which in my experiences has ALSO meant "our service is down because of the database folks". IMO a good reason to use a database for configs is when you require relatable config fields, and even then try not to poll the db directly.Scott Prive– Scott Prive2021-03-04 13:10:37 +00:00Commented Mar 4, 2021 at 13:10
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you