Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between system configuration and system state?

Today in a design meeting we discussed the topic of where to store configuration and state of a distributed application.

It turns out that in that meeting, some developers understand different things when they hear configuration or state. Some even think that configuration and state are exactly the same thing.

My very shortly summarized understanding is that configuration describes how you want the system to behave, and the system should parse that config and take actions to reach a certain state that reflects an implementation and consolidation of that config.

For example, an Apache server may have a config that tells it to have between 15 and 30 worker processes. When the server starts, it will most likely start 15 of them, arriving to a state of having 15 worker processes. As requests come in it might change its state to have up to 30 active worker processes.

I couldn't however convince the developers in question that these two concepts are different, and googling doesn't give me more eloquent references that explain better than I can what the me almost obvious difference is.

Any suggestions or links on how to explain this better ? Or am I wrong ?

like image 553
Thomas Vander Stichele Avatar asked Sep 16 '10 19:09

Thomas Vander Stichele


People also ask

What is the difference between configuration and state data?

Configuration data is sent to the device from Cloud IoT Core. State data is sent by the device to Cloud IoT Core. You can think of configuration as an external instruction sent to a device, and of state as a device's internal representation.

What is meant by system configuration?

System configuration is a term in systems engineering that defines the computer hardware, the processes as well as the various devices that comprise the entire system and its boundaries.

Why do we need to understand system configuration?

The configuration of these systems is critical to your organization's success. Configuration is what makes your systems (servers, networks, operating systems, data centers, configuration files, IT assets and all other configuration items) work.

What is system configuration in SAP bods?

Assigned Tags Each system configuration defines a set of data store configurations that you want to use together when running a job. You can define a system configuration if your repository contains at least one datastore with multiple configurations.


1 Answers

You can reset a system, losing all state. Its configuration remains.

like image 112
djna Avatar answered Oct 11 '22 10:10

djna