Module 6 · Dual-rail failover blueprintGenerátor autonómnej Dual-Rail architektúry a Webhook Failoveru
Vygenerujte produkčný circuit-breaker kód v TypeScripte, Pythone, Go a JSON Policy s regulačnými bránami ISO a DLR watchdogom.
Combined SLA 99.999%ACK ≤ 3500msDLR watchdog 45s
Quick ISO:
Beem Africa (85%) → ClickSend (15%) · DACH · DE
1< 5ms GSM-7 / RFC check
SMS · 100,000/mo
2Quiet hours: 20:00–08:00 CET/CEST (UWG commercial)
Bundesnetzagentur (BNetzA) / BaFin / GDPR · dynamic_alphanumeric_ok
3ACK budget: 3500ms
85% Primary / 15% Standby · Rolling 5m DLR ≥ 92%
499.94% 90d SLA
85% allocation · corridor leader (DACH)
599.999% combined SLA
15% active warm + instant <2s overflow
6Watchdog TTL: 45s
Auto-retry on carrier silence or grey-route drop
Regulačné požiadavky zvoleného ISO koridoru pred produkčnou prevádzkou. · DE
- Úrad
- Politika Sender ID
- Mandát
- Tiché hodiny
- Max. zreťazené segmenty
Otvoriť dossier koridoru →Validate latency, quantify outage ROI, then launch Decision Brief with the same corridor.
Produkčné circuit-breaker stuby pre TypeScript, Python, Go a strojovo čitateľná JSON politika.
// IOSOR 2027 Autonomous Dual-Rail Router (DACH · DE · SMS)
export interface DispatchPayload {
to: string;
body: string;
idempotencyKey: string;
}
export const ROUTING_BLUEPRINT = {
corridor: 'DACH',
isoCountry: 'DE',
scenario: 'sms',
primary: { id: 'beemafrica', name: 'Beem Africa', weight: 0.85 },
failover: { id: 'clicksend', name: 'ClickSend', weight: 0.15 },
ackTimeoutMs: 3500,
dlrWatchdogSec: 45,
maxSegments: 6,
} as const;
export async function dispatchWithDualRailFailover(
payload: DispatchPayload,
sendViaPartner: (partnerId: string, p: DispatchPayload, signal: AbortSignal) => Promise<{ messageId: string }>
) {
const controller = new AbortController();
const timer = setTimeout(() => controller.abort(), ROUTING_BLUEPRINT.ackTimeoutMs);
try {
const res = await sendViaPartner(ROUTING_BLUEPRINT.primary.id, payload, controller.signal);
return { rail: 'primary', partnerId: ROUTING_BLUEPRINT.primary.id, ...res };
} catch {
const fallbackController = new AbortController();
const res = await sendViaPartner(ROUTING_BLUEPRINT.failover.id, payload, fallbackController.signal);
return { rail: 'failover', partnerId: ROUTING_BLUEPRINT.failover.id, ...res };
} finally {
clearTimeout(timer);
}
}