-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig-minimal.yaml
More file actions
214 lines (191 loc) · 6.25 KB
/
config-minimal.yaml
File metadata and controls
214 lines (191 loc) · 6.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
# =============================================================================
# ThemisDB MINIMAL Edition Configuration
# Version: 1.3.5+
# Edition: MINIMAL
# =============================================================================
#
# This is a minimal configuration for ThemisDB MINIMAL Edition.
# Only core database features are enabled. No LLM, GPU, sharding, or advanced
# protocols are available in this edition.
#
# Features included:
# - ACID transactions with MVCC
# - Multi-model storage (relational, graph, vector, document)
# - Secondary indexes
# - Basic query engine (AQL)
# - REST API (HTTP/1.1)
# - GraphQL (basic)
# - Basic time-series support
#
# Features NOT included:
# - LLM integration
# - GPU acceleration
# - Horizontal sharding
# - Replication
# - Advanced protocols (HTTP/2, WebSocket, gRPC, MQTT, PostgreSQL Wire)
# - Voice assistant
# - Content processors
# - OpenTelemetry tracing
# - RBAC (basic auth only)
# - Field-level encryption
#
# =============================================================================
# =============================================================================
# STORAGE CONFIGURATION (RocksDB)
# =============================================================================
storage:
rocksdb_path: "./data/rocksdb"
wal_dir: ""
# Memory Configuration (reduced for minimal footprint)
memtable_size_mb: 64
block_cache_size_mb: 256
block_cache_shard_bits: -1
cache_index_and_filter_blocks: true
pin_l0_filter_and_index_blocks_in_cache: false
partition_filters: true
high_pri_pool_ratio: 0.5
db_write_buffer_size_mb: 0
# Write Configuration
enable_wal: true
max_write_buffer_number: 2
min_write_buffer_number_to_merge: 1
allow_concurrent_memtable_write: true
# Compaction Configuration (minimal)
max_background_compactions: 2
max_background_flushes: 2
level0_file_num_compaction_trigger: 4
level0_slowdown_writes_trigger: 20
level0_stop_writes_trigger: 36
# Bloom Filter (basic)
bloom_bits_per_key: 10
whole_key_filtering: true
# Compression (basic)
compression_type: "lz4"
bottommost_compression_type: "zstd"
# Performance
max_open_files: 1000
bytes_per_sync: 1048576
wal_bytes_per_sync: 1048576
# =============================================================================
# NETWORK CONFIGURATION
# =============================================================================
network:
# HTTP/1.1 Server (REST API + GraphQL)
http_host: "0.0.0.0"
http_port: 8080
# No advanced protocols in minimal edition
# gRPC: disabled
# HTTP/2: disabled
# WebSocket: disabled
# MQTT: disabled
# PostgreSQL Wire: disabled
# =============================================================================
# SECURITY CONFIGURATION (Basic)
# =============================================================================
security:
# TLS/SSL (optional)
enable_tls: false
# tls_cert: "/path/to/cert.pem"
# tls_key: "/path/to/key.pem"
# Basic Authentication (no RBAC in minimal)
enable_auth: false
# No field-level encryption in minimal
# No HSM support in minimal
# =============================================================================
# QUERY ENGINE CONFIGURATION
# =============================================================================
query:
# Basic query limits
max_query_size_bytes: 1048576
query_timeout_seconds: 30
max_concurrent_queries: 100
# =============================================================================
# INDEX CONFIGURATION
# =============================================================================
index:
# Secondary indexes
enable_secondary_indexes: true
max_secondary_indexes_per_table: 10
# Graph indexes
enable_graph_indexes: true
# Vector indexes (CPU-only, no GPU)
enable_vector_indexes: true
default_vector_distance_metric: "cosine"
hnsw_m: 16
hnsw_ef_construction: 200
hnsw_ef_search: 50
# =============================================================================
# TRANSACTION CONFIGURATION
# =============================================================================
transaction:
# MVCC settings
enable_mvcc: true
default_snapshot_isolation_level: "snapshot"
max_transaction_duration_seconds: 60
transaction_lock_timeout_seconds: 10
# =============================================================================
# LOGGING CONFIGURATION
# =============================================================================
logging:
level: "info"
format: "text"
output: "stdout"
# No OpenTelemetry tracing in minimal
# =============================================================================
# BACKUP CONFIGURATION (Basic)
# =============================================================================
backup:
# Local backups only (no cloud storage in minimal)
enable_automatic_backups: false
backup_directory: "./backups"
backup_interval_hours: 24
max_backups_retained: 7
# =============================================================================
# PERFORMANCE TUNING (Minimal)
# =============================================================================
performance:
# Worker threads (reduced for minimal footprint)
worker_threads: 4
# No GPU acceleration in minimal
enable_gpu: false
# No performance optimizations in minimal
# (mimalloc, huge pages, RCU, etc. disabled by default)
# =============================================================================
# DISABLED FEATURES (Explicit for clarity)
# =============================================================================
# The following features are explicitly disabled in MINIMAL edition:
#
# llm:
# enable_llm: false
#
# gpu:
# enable_gpu: false
#
# sharding:
# enable_sharding: false
#
# replication:
# enable_replication: false
#
# protocols:
# enable_grpc: false
# enable_http2: false
# enable_websocket: false
# enable_mqtt: false
# enable_postgres_wire: false
#
# content:
# enable_content_processors: false
#
# voice:
# enable_voice_assistant: false
#
# observability:
# enable_tracing: false
# enable_prometheus: true # Basic metrics only
#
# security_advanced:
# enable_rbac: false
# enable_field_encryption: false
# enable_hsm: false
# =============================================================================