Add enhanced configuration templates for adaptive I/O features

- Introduced a comprehensive configuration template (config-adaptive.toml) for adaptive I/O, enabling improved upload/download dual stack with various performance optimizations, security settings, and network resilience features.
- Created a test configuration template (test-config.toml) mirroring the adaptive configuration for testing purposes.
- Added a simple test configuration (test-simple-config.toml) for basic adaptive features testing with essential parameters.
- Included an empty Jupyter notebook (xep0363_analysis.ipynb) for future analysis related to XEP-0363.
This commit is contained in:
2025-08-23 12:07:31 +00:00
parent 7d5fcd07a1
commit 3887feb12c
24 changed files with 3907 additions and 249 deletions

38
test-simple-config.toml Normal file
View File

@ -0,0 +1,38 @@
# Simple test configuration for adaptive features testing
[server]
listen_address = "8080"
storage_path = "/tmp/uploads"
metrics_enabled = true
metrics_path = "/metrics"
max_upload_size = "10GB"
max_header_bytes = 1048576
deduplication_enabled = false
file_naming = "original"
networkevents = true
precaching = true
[uploads]
allowed_extensions = [".jpg", ".jpeg", ".png", ".gif", ".mp4", ".mov", ".avi", ".pdf", ".doc", ".docx", ".txt"]
chunked_uploads_enabled = true
chunk_size = "2MB"
resumable_uploads_enabled = true
sessiontimeout = "1h"
maxretries = 3
[downloads]
allowed_extensions = [".jpg", ".jpeg", ".png", ".gif", ".mp4", ".mov", ".avi", ".pdf", ".doc", ".docx", ".txt"]
chunk_size = "2MB"
cache_enabled = true
cache_max_size = "500MB"
cache_max_age = "24h"
[security]
hmac_algorithm = "SHA256"
secret = "test-secret-key-for-adaptive-testing"
max_concurrent_uploads = 10
max_concurrent_downloads = 20
[logging]
level = "INFO"
format = "json"
output = "console"