← Back to home
Comparison · Analytics

mirai vs superspreading

A side-by-side editorial comparison of mirai and superspreading — release velocity, themes, recent moves, and the top alternatives to consider.

mirai vs superspreading: at a glance

Featuremiraisuperspreading
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themesparallel-computing, async, backpressure, shinyepiverse-trace, superspreading, branching-process, pathogen-emergence
Last editorial update1h ago2h ago
WebsiteVisit →Visit →

What is mirai?

mirai removed its dispatcher process and added memory backpressure to the queue.

The async evaluation framework releases roughly monthly and moves fast at the architecture level. In 2.7.0 the dispatcher stopped being a separate process and became a thread, after its loop had already been rewritten in C inside nanonext one release earlier. The same release added an opt-in memory budget for queued task payloads and try_mirai(), which returns NULL immediately rather than blocking when that budget is exhausted.

Read the full mirai trajectory →

What is superspreading?

superspreading now asks whether a pathogen will emerge at all, not just how unevenly it spreads.

superspreading quantifies individual-level variation in transmission — the offspring distributions and summary metrics behind the 20/80 rule — and calculates probabilities of epidemic, extinction and containment. With 0.4.0 it added probability_emergence(), estimating whether an introduced pathogen can evolve into sustained human-to-human transmission. The package moved from experimental to stable in the same release.

Read the full superspreading trajectory →

mirai vs superspreading: editorial side-by-side

M
mirai
ANALYTICS
2.5

mirai removed its dispatcher process and added memory backpressure to the queue.

◆ Current state

The async evaluation framework releases roughly monthly and moves fast at the architecture level. In 2.7.0 the dispatcher stopped being a separate process and became a thread, after its loop had already been rewritten in C inside nanonext one release earlier. The same release added an opt-in memory budget for queued task payloads and try_mirai(), which returns NULL immediately rather than blocking when that budget is exhausted.

◆ Where it's heading

Two threads of work run together: cutting overhead out of the task path — thread-based dispatcher, in-process transport for synchronous daemons, lower per-element dispatch cost in mirai_map() — and making the framework safe to embed in an event loop, where blocking the host R thread is not acceptable. Deployment reach is growing too, with http_config() launching remote daemons over HTTP APIs and auto-configuring for Posit Workbench. Each release pins a minimum nanonext version, so the two packages advance as one unit.

◆ Prediction

With backpressure in place but opt-in, the open question these notes leave is whether a default memory budget arrives; continued overhead reduction and Shiny-facing non-blocking paths are the safer bet.

S0.0

superspreading now asks whether a pathogen will emerge at all, not just how unevenly it spreads.

◆ Current state

superspreading quantifies individual-level variation in transmission — the offspring distributions and summary metrics behind the 20/80 rule — and calculates probabilities of epidemic, extinction and containment. With 0.4.0 it added probability_emergence(), estimating whether an introduced pathogen can evolve into sustained human-to-human transmission. The package moved from experimental to stable in the same release.

◆ Where it's heading

Scope has widened one published framework at a time. 0.2.0 added network-based reproduction numbers, 0.3.0 added the Lloyd-Smith formulation of proportion_transmission() and vendored a branching-process simulator to drop the {bpmodels} dependency, and 0.4.0 implemented and extended the Antia et al. emergence model. Each addition brings a vignette reproducing the source paper's figures, which is how this package treats a method as delivered.

◆ Prediction

The established pattern — implement a published framework, extend it, document it against the original figures — makes another literature-derived addition likelier than internal refactoring.

Alternatives to mirai and superspreading

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either mirai or superspreading.

See all mirai alternatives → · See all superspreading alternatives →

Recent activity from mirai and superspreading

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 25d agomiraiMap collection and daemon lifecycle fixes
  2. 2mo agomiraiAgent skill ships in-package; HTTP headers take over auth
  3. 3mo agomiraiDispatcher becomes a thread, and the queue gains a memory budget
  4. 5mo agomiraiParallel RNG seeding leaves experimental status
  5. 6mo agomiraiRemote daemons over HTTP, and a C dispatcher loop
  6. 8mo agomiraiTelemetry span timing and daemon-switch fix
  7. 1y agosuperspreadingprobability_emergence() extends the package into pathogen emergence risk
  8. 1y agosuperspreadingLloyd-Smith transmission proportions; bpmodels dependency removed
  9. 2y agosuperspreadingNetwork reproduction numbers and joint individual/population control
  10. 2y agosuperspreadingFirst release: offspring distributions and epidemic risk metrics

Frequently asked questions

What is the difference between mirai and superspreading?

They serve adjacent needs but don't currently overlap on shipped themes. mirai is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is mirai better than superspreading?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. mirai is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to mirai?

Top mirai alternatives in Analytics are ranked by recent ship velocity. Browse the "mirai alternatives" section above for the current picks, or visit /alternatives/mirai for the full list with editorial commentary on each.

What are the best alternatives to superspreading?

Top superspreading alternatives in Analytics are ranked by recent ship velocity. Browse the "superspreading alternatives" section above for the current picks, or visit /alternatives/superspreading for the full list with editorial commentary on each.