The latest update to Tunna, version 1.3.3, introduces significant improvements in configuration management and resource utilization. These enhancements contribute to the overall stability and reliability of the application, marking a departure from the methods used in previous versions and including advanced health checks.
What’s New
Health Checks and Performance
Version 1.3 features seamless health checks that operate in the background without disrupting existing tunnel connections. These checks use a separate, disposable Xray Core instance optimized with specifically tailored buffers and timeouts for efficient performance.
Enhanced Configuration Management
Previously, in version 1.1, changes to configuration required a complete restart of the tunnel, leading to service interruptions that impacted user experience. Version 1.2 addressed this by requiring the recreation of the entire Xray Core instance, a method effective but susceptible to tunnel failures during heavy loads such as DNS query bursts or large file downloads.
Version 1.3.3 resolves these issues by enabling configurations to be updated seamlessly, without the need for restarting the tunnel provider or recreating the Xray Core instance. It allows different components of the application’s configuration, such as inbounds, outbounds, routing, or logs, to be reloaded independently and only as needed. This targeted approach not only streamlines the update process but also minimizes the memory required for applying configuration changes, thereby avoiding significant spikes.
Optimization of Geosite Dataset
This update also enhances the Xray GeoSite dataset by limiting domain entries to a maximum of three segments and removing any entries that are already covered by regex entries. This deduplication process significantly reduces memory usage for rules involving records with numerous domain entries.