Plugin Architecture

The Smartest Thing About Leaflet.js Is What It Doesn’t Do

Leaflet.js dominates web mapping not because it’s easy to use, but because its creators had the courage to say no to endless features. By pushing complexity to plugins and keeping the core minimal, they built a library that outlasts fads and delivers genuine developer relief. The lesson: architectural restraint is the ultimate competitive advantage.

One Faulty Plugin Shouldn’t Kill Your Blockchain Node. In Reth, It Does.

Reth’s ExEx plugin system has a fatal architectural flaw: when a plugin panics, spawn_critical_task kills the entire node. This violates the core principle of fault isolation that makes plugin architectures work. The fix isn’t just catching panics — it’s rethinking the boundary between core and extension so that a plugin crash becomes a log entry, not an outage.