Can you have multiple config files?

Can you have multiple config files?

Yes you can have two web. config files in application. There are situations where your application is divided in to modules and for every module you need separate configuration. For example if you have a application which has two modules lets say accounts and sales.

Should you commit config files?

Users should not commit app. conf into the repository, because different users may want different settings in that file. (So you should put app.

What should be in a config file?

A configuration file, often shortened to config file, defines the parameters, options, settings and preferences applied to operating systems (OSes), infrastructure devices and applications in an IT context.

When do you not need a configuration file?

Depending on the personality of the team or the project, syntax might be an important factor. There are cases when some configuration data is sensitive and should not be stored in the configuation file. When using a Versioning system, it is common to commit the configuration file with the rest of the code base.

How to choose the best configuration file format?

When choosing a file format, it is important to check the support for that file format in you favorite code editor. If it is not supported out of the box, maybe that editor has a plugin that offers support for the file format. Otherwise, check for the available alternative code editors that suport this file format.

Is it possible to send multiple files over one TCP connection?

Tiny packets still incur TCP overhead; you could wind up doubling the amount of traffic as a result. Modern systems and even relatively ancient ones can send multiple files over a single TCP connection, avoiding the costs of that handshake.

Which is faster, transferring several small files or one large file?

Lots of little files will also be more expensive to write to the file system than a single large file. It needs to do things like: As you get more and more files in a directory this can become quite costly. And each of these steps can add latency to the copy process and slow the whole thing down.