← Back to home
Comparison · DevOps

httpuv vs httr2

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

httpuv vs httr2: at a glance

Featurehttpuvhttr2
SectorDevOpsDevOps
Velocity score0.02.5
Sparks · 30d00
Top themesweb-server, websockets, shiny, maintenancer, http-client, oauth, opentelemetry
Last editorial update50m ago2h ago
WebsiteVisit →Visit →

What is httpuv?

httpuv ships almost nothing, which is what you want from the web server under Shiny

httpuv is the C++ HTTP and WebSocket server that Shiny runs on. Across this window it added exactly one user-facing function - runStaticServer() for serving a directory - and spent every other release on race conditions, compiler and linker changes, CRAN check warnings, and mime type table updates.

Read the full httpuv trajectory →

What is httr2?

httr2 is growing production concerns: tracing, throttling and token hygiene.

httr2 is the tidyverse's modern HTTP client and the designated successor to httr. Recent releases have moved past request-building ergonomics into operational concerns — OpenTelemetry traces for every request, throttling that behaves correctly across repeated calls, and a fix for OAuth token caches that were never actually being pruned.

Read the full httr2 trajectory →

httpuv vs httr2: editorial side-by-side

H
httpuv
DEVOPS
0.0

httpuv ships almost nothing, which is what you want from the web server under Shiny

◆ Current state

httpuv is the C++ HTTP and WebSocket server that Shiny runs on. Across this window it added exactly one user-facing function - runStaticServer() for serving a directory - and spent every other release on race conditions, compiler and linker changes, CRAN check warnings, and mime type table updates.

◆ Where it's heading

There is no direction here in the usual sense, and that is the honest read: the package is a stable foundation whose releases are triggered by the toolchain moving, by R-devel warnings, or by a threading bug surfacing under load. The one recurring theme with substance is connection reliability - WebSocket keepalive pings, race conditions in the I/O thread - which is what actually breaks Shiny apps in production.

◆ Prediction

Expect continued small releases tracking Rtools, R-devel and mime data, with any substantive change most likely coming from a threading or WebSocket issue reported by Shiny users rather than from planned work.

H
httr2
DEVOPS
2.5

httr2 is growing production concerns: tracing, throttling and token hygiene.

◆ Current state

httr2 is the tidyverse's modern HTTP client and the designated successor to httr. Recent releases have moved past request-building ergonomics into operational concerns — OpenTelemetry traces for every request, throttling that behaves correctly across repeated calls, and a fix for OAuth token caches that were never actually being pruned.

◆ Where it's heading

The package is maturing into infrastructure for long-running R services rather than interactive scripts. The 1.2.0 lifecycle purge removed deprecated streaming and mocking APIs in favour of a connection-based model, and debugging affordances like httr2_translate() point at users who need to reproduce a failing request outside R.

◆ Prediction

Expect further observability and credential-handling work, with the rlang-driven cache hash change in 1.3.0 likely to surface follow-up issues as existing caches silently invalidate.

Alternatives to httpuv and httr2

Other DevOps 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 httpuv or httr2.

See all httpuv alternatives → · See all httr2 alternatives →

Recent activity from httpuv and httr2

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

  1. 1mo agohttr2httr2 1.3.0 fixes OAuth token caches that never expired
  2. 1mo agohttr2httr2 1.2.3 translates requests into curl commands
  3. 8mo agohttr2httr2 1.2.2 emits OpenTelemetry traces for every request
  4. 1y agohttr2httr2 1.2.1 stops escaping colons in paths
  5. 1y agohttr2httr2 1.2.0 removes deprecated mocking and streaming APIs
  6. 1y agohttpuvServes .wasm as application/wasm; mime table refreshed
  7. 1y agohttr2httr2 1.1.2 fixes AWS request signing and header checks
  8. 2y agohttpuvrunStaticServer() survives a failed browser launch
  9. 2y agohttpuvRtools build file update and macOS zlib linking fix
  10. 2y agohttpuvFixes an R CMD check warning on error format strings
  11. 2y agohttpuvrunStaticServer() serves a directory of static files
  12. 3y agohttpuvFixes a race condition introduced in 1.6.10

Frequently asked questions

What is the difference between httpuv and httr2?

They serve adjacent needs but don't currently overlap on shipped themes. httr2 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 httpuv better than httr2?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. httr2 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 DevOps products to evaluate alongside.

What are the best alternatives to httpuv?

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

What are the best alternatives to httr2?

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