Configuration Options to Disable Optional Functionalities #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Configuration Options to Disable Optional Functionalities
Problem:
The KVS server currently includes several advanced features (authentication,
tamper-evident logging, clustering, rate limiting, revision history) that might
not be necessary for all deployment scenarios. For instance, a simple,
single-node, internal KVS might not need authentication or clustering,
while a high-performance, write-heavy application might want to disable revision
history to reduce write amplification. Without explicit configuration options to
disable these features, users are forced to run them, potentially incurring
unnecessary overhead or complexity.
Proposed Solution:
Introduce new boolean configuration parameters in the Config struct to enable/disable these features. The server's initialization and request handling logic should then respect these flags.
Disablement Options:
Already Implemented (or implicitly handled):
Relevant Code Sections: