
WERM
WERM is a modern, all-in-one monetization platform built specifically for Minecraft servers. Think of it as a Tebex alternative—but with better features, lower fees, and a focus on the modern server owner experience.
40
0
40
0
Список изменений
[1.0.3] - 2025-01-11
🚀 Performance Optimization Release
This release focuses on network performance improvements with connection pooling and smart polling to reduce server load and API traffic.
Added
Performance Features
-
HTTP Connection Pooling (Improvement 1.1) - New
HttpClientManager.javausing OkHttp for efficient connection reuse- Maintains pool of 5 idle connections with 5-minute keep-alive
- Eliminates connection setup overhead for repeated API calls
- Proper TLS 1.2+ enforcement built into the connection pool
- Configurable timeouts: 10s connect, 30s read, 10s write
-
Smart Polling with Exponential Backoff (Improvement 1.2) - Dynamic polling based on server activity
- Increases polling interval when no deliveries are found (up to 4x base interval)
- Automatically resets to base interval when deliveries are found
- Instantly checks for deliveries when players join
- Reduces API load during low-activity periods by up to 75%
Changed
- Replaced all
HttpURLConnectionusage with OkHttp client inVerificationAPI.java - Refactored
DeliveryTask.javawith backoff state management - Updated
WERMPlugin.javato properly shutdown HTTP client on disable - Updated API connectivity test to use connection pool
Technical Details
- New Dependency: OkHttp 4.12.0 (Java 8 compatible)
- Relocated Packages:
okhttp3,okio,kotlin→com.werm.libs.* - Backoff Configuration:
- Max backoff multiplier: 4x
- Backoff triggers after 3 consecutive empty responses
- Backoff resets on delivery found or player join
Performance Impact
- ~50% reduction in connection overhead through reuse
- Up to 75% reduction in API calls during idle periods
- Faster response times due to keep-alive connections
- Lower memory footprint from connection reuse
Файлы
WERM-1.0.3.jar(2.86 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.3
Загрузчики
PaperPurpurSpigot
Версии игры
1.8–1.21.11
Загрузок
3
Дата публикации
2 мес. назад
