FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
I built a network failure simulator in a single HTML file
How-ToWeb Development

I built a network failure simulator in a single HTML file

via Dev.to WebdevAlex A.4h ago

I wanted a tool to run NOC failure drills without setting up a lab. Everything I found was either too heavy or required a server. So I built Simvex. What it does Simulates link failures and automatic rerouting Connects to RIPE Atlas API for real latency data ML anomaly detection (EMA Z-score + cooldown) Load any topology via JSON Export PDF reports, CSV, SVG, JSON topology Zero install — single HTML file, open in browser The interesting parts Particles without re-creating DOM nodes The traffic animation initially called remove() and enter() every second. At scale it was slow. Fixed by building the array once and only calling .attr() on existing elements each step. ML without spam Raw Z-score on noisy latency data fires alerts constantly. Added EMA smoothing (α=0.3) before the Z-score calculation, plus a 5-step cooldown between alerts. Alert spam dropped to zero. Resize without rebuilding the map Used ResizeObserver on the container — when size changes, repositionSvg() recalculates W/H

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles

All the wrong EVs are getting cancelled
How-To

All the wrong EVs are getting cancelled

The Verge • 30m ago

Building Backend Auth System with Swagger and Clean Structure
How-To

Building Backend Auth System with Swagger and Clean Structure

Medium Programming • 36m ago

7 Mistakes Every Junior Developer Makes
How-To

7 Mistakes Every Junior Developer Makes

Medium Programming • 45m ago

Epic and Disney now let Fortnite creators make Star Wars games
How-To

Epic and Disney now let Fortnite creators make Star Wars games

The Verge • 2h ago

The Event-Driven Design Choice That Creates Invisible Coupling in .NET
How-To

The Event-Driven Design Choice That Creates Invisible Coupling in .NET

Medium Programming • 2h ago

Discover More Articles