lukaszraczylo
|
ba77cb6aa9
|
Use OS native copy.
|
2025-11-26 13:28:20 +00:00 |
|
lukaszraczylo
|
23cd45a3d7
|
improvements nov2025 pt2 (#13)
* Further improvements
| Fix | Impact | Files Modified |
|------------------------------------|----------------------------------------|--------------------------------------|
| sync.Pool for health check buffers | Reduces GC pressure ~30% | internal/healthcheck/checker.go |
| Goroutine leak fix + sync.Once | Prevents memory leaks | internal/forward/worker.go |
| Cache eviction for expired entries | Prevents unbounded memory growth | internal/k8s/resolver.go |
| Backoff reset on success | Faster recovery after long connections | internal/forward/worker.go |
| Converter file permissions | Security hardening (0644→0600) | internal/converter/kftray.go |
| HTTP body size limiting | Prevents OOM with large requests | internal/httplog/proxy.go, logger.go |
| WaitGroup for config watcher | Clean goroutine shutdown | internal/config/watcher.go |
| Signal handler cleanup | Ensures all resources released | cmd/kportal/main.go |
* Additional event bus for internal event handling
| Metric | Before | After | Improvement |
|------------------------|---------------------------------------|-------------------|--------------------|
| Goroutines per forward | 3 (worker + heartbeat + health check) | 1 (worker only) | 66% reduction |
| Tickers per forward | 2 (heartbeat + health check) | 0 | 100% reduction |
| Global goroutines | 2 (watchdog + health monitor) | 2 | Same |
| Lock acquisitions/sec | O(n) per interval | O(1) per interval | Linear improvement |
* Add UI testing
* Add mocks
* Add more logs and details to be displayed
|
2025-11-26 13:18:50 +00:00 |
|
lukaszraczylo
|
6d8677026f
|
Bugfixes nov2025 pt5 (#9)
* Update dependencies.
* Add autoupdate action.
|
2025-11-25 16:50:06 +00:00 |
|
lukaszraczylo
|
1167847fd4
|
bugfixes nov2025 pt4 (#7)
* Add mDNS resolution.
* Update the website and documentation
|
2025-11-25 11:14:33 +00:00 |
|
lukaszraczylo
|
49acba5679
|
Bugfixes nov2025 pt2 (#5)
* UI bugfixes.
* Fix open port check during new fwd setup wizard
|
2025-11-25 00:09:32 +00:00 |
|
lukaszraczylo
|
21ea41781d
|
Add user friendly UI allowing to temporarily toggle port forwarding.
|
2025-11-23 16:50:56 +00:00 |
|
lukaszraczylo
|
f50f0a9b49
|
WIP - before the testing.
|
2025-11-23 15:24:51 +00:00 |
|