|
235 | 235 | </description> |
236 | 236 | </server> |
237 | 237 |
|
| 238 | + <!-- ═══════════════════════════════════════════════════════════════════ |
| 239 | + BASE SERVER CLASS SELECTION |
| 240 | + ═══════════════════════════════════════════════════════════════════ |
| 241 | + Selects which server implementation handles inbound connections. |
| 242 | + Only one may be active at a time. Set selected="true" on the |
| 243 | + desired class; all others must be "false". |
| 244 | +
|
| 245 | + BaseServer — standard server, no connection caps or |
| 246 | + weight balancing. Default. |
| 247 | + HardenedBaseServer — connection caps (512), per-IP limit (10), |
| 248 | + reduced timeout (30 min), port whitelist. |
| 249 | + Premium option. |
| 250 | + NationalAwareHardService — weight-based request balancing, 5040 max |
| 251 | + connections, 1-per-IP, 58-min timeout, |
| 252 | + cost-aware ejection of heavy consumers. |
| 253 | + Premium option. |
| 254 | + ════════════════════════════════════════════════════════════════════ --> |
| 255 | + <server-class> |
| 256 | + <option id="BASE_SERVER" selected="true" premium="false"> |
| 257 | + <class>server.base.BaseServer</class> |
| 258 | + <description>Standard BaseServer. No connection limits or weight balancing.</description> |
| 259 | + </option> |
| 260 | + <option id="HARDENED_BASE_SERVER" selected="false" premium="true"> |
| 261 | + <class>server.experimental.HardenedBaseServer</class> |
| 262 | + <description> |
| 263 | + Hardened server with 512 max connections, 10 per-IP limit, |
| 264 | + 30-minute socket timeout, port whitelist, and graceful shutdown. |
| 265 | + </description> |
| 266 | + </option> |
| 267 | + <option id="NATIONAL_AWARE_HARD_SERVICE" selected="false" premium="true"> |
| 268 | + <class>server.hardened.experimental.m.NationalAwareHardService</class> |
| 269 | + <description> |
| 270 | + Weight-balanced hardened server. 5040 max connections, 1 per-IP, |
| 271 | + 58-minute timeout. Long/heavy requests cost more weight and are |
| 272 | + ejected when budget is exceeded — protecting lightweight requests |
| 273 | + from starvation. |
| 274 | + </description> |
| 275 | + </option> |
| 276 | + </server-class> |
| 277 | + |
238 | 278 | <!-- ═══════════════════════════════════════════════════════════════════ |
239 | 279 | REMOTE / EXTERNAL SERVERS (for outbound connections) |
240 | 280 | ════════════════════════════════════════════════════════════════════ --> |
|
0 commit comments