# PartyServer: 6.6 out of 10

Reasonable, with limits. 9th of 10 in [Realtime and collaboration](https://elestia.ai/opensource/realtime/index.md).

PartyServer is Cloudflare's library that adds rooms, connection lifecycle hooks and broadcasting on top of Durable Objects. It is the self-hosted successor to the PartyKit platform. It is a solid, lightweight choice if you already deploy on Cloudflare Workers. It is still 0.x and labelled a work in progress, and it does nothing for apps that run anywhere else.

**Best for:** Teams on Cloudflare Workers that want WebSocket rooms, presence or Yjs sync on Durable Objects without writing the plumbing themselves.

## Scores

- **Overall: 6.6** (likely 5.6 to 7.7)
  - Claude Opus 5.5 (6.0): On Cloudflare Workers, PartyServer is the natural way to build realtime rooms on Durable Objects, and Cloudflare backs it. Outside that platform it does not apply. It is still 0.x and a work in progress, and its maintenance has been quiet since August. Socket.IO, Yjs with Hocuspocus, or Liveblocks are safer general picks, so it ranks as a good platform-specific choice rather than a category default.
  - GPT-6.2 Sol (7.2): PartyServer is a strong pick for new stateful WebSocket rooms on Cloudflare Workers, especially when the application needs custom room logic and idle connections. Socket.IO is the more portable default for general realtime messaging, and Hocuspocus offers more built-in features for self-hosted Yjs editing. The release gap, open connection bugs, and limited independent evidence at scale keep it below a category-wide default.
- **Needed by many: 3.4** (likely 2.4 to 4.5)
  - Claude Opus 5.5 (3.0): Realtime features are a broad need, but PartyServer serves only apps deployed on Cloudflare Workers with Durable Objects. That is a clear platform niche inside the category. Its Yjs add-on widens it a little to collaborative editing on the same platform.
  - GPT-6.2 Sol (3.8): Chat, live dashboards, games, and shared editing all fit the room model. The server requires Cloudflare Durable Objects, which narrows the audience considerably. Runtime survey data gives a sense of the potential audience, while the share that needs stateful rooms is harder to estimate.
- **Helps a lot: 6.7** (likely 5.7 to 7.8)
  - Claude Opus 5.5 (6.0): The API is clean and covers rooms, lifecycle hooks, tagged connections, broadcasting and one model for hibernating and non-hibernating objects, with TypeScript types. It is a thin layer, and the README lists caveats: reserved methods, manual wrangler config, and 'tags' still marked TODO. Recent issues report bugs in reconnection, close handling and types. It works well for its job but has clear rough edges.
  - GPT-6.2 Sol (7.4): Version 0.5.10 makes typed room routing, selective broadcasting, and hibernation straightforward, and its examples give coding agents a concrete setup to follow. Shared editing adds y-partyserver, with hooks for application-managed persistence. Users report reconnect and close bugs with hibernation off, and independent load-test evidence is thin.
- **Holds up over time: 6.4** (likely 4.7 to 7.5)
  - Claude Opus 5.5 (6.0): Cloudflare owns the repo, and it saw 171 commits, 83 releases and 326 merged PRs, so it has real backing. But the last push and release were in early August 2026, and a dozen November issues have no replies. Much of the work rests on a few people. Cloudflare's Agents SDK no longer lists partyserver as a direct dependency, which adds some doubt about its priority.
  - GPT-6.2 Sol (6.7): Cloudflare names PartyServer as the path forward after hosted PartyKit and published a migration guide in October. The package shipped 27 versions over the year, but the latest release was on August 3 and recent core bug reports remain open. An earlier hibernation report received a maintainer reply the same day and an alarm fix within five days. Recent release notes repeatedly credit one core maintainer, which leaves uncertainty about future release capacity.
- **Used widely: 4.6** (likely 3.2 to 6.3)
  - Claude Opus 5.5 (4.0): Downloads rose from about 0.47M to 8.8M per 4 weeks, a ratio of about 18.6 against a median of 4.1. Much of that likely comes from Cloudflare tooling such as older Agents SDK versions and templates, not from direct choices. 1.3k stars, one Hacker News story and no Bluesky posts point to a few thousand direct users. Its growth is strong but hard to separate from indirect installs.
  - GPT-6.2 Sol (5.1): Four-week downloads grew 18.6 times year over year, well above the 4.1 median and faster than every listed peer except Loro. Older Cloudflare Agents releases pulled in PartyServer automatically, and the current Agents source carries its own copy. The 1,316 stars cover the whole monorepo, Bluesky attention is sparse, and the missing dependent-repository count leaves direct adoption hard to size.
- **Vouched for: 4.9** (likely 3.7 to 6.6)
  - Claude Opus 5.5 (4.0): Cloudflare builds and has used it in its own Agents SDK, which counts as one strong backer. I found almost no independent comparisons, benchmarks or survey data. The write-ups I found are mostly docs, marketing or competitor comparison pages.
  - GPT-6.2 Sol (5.8): Cloudflare’s Agents SDK adapts the server implementation, and independent developers report using PartyServer for a shared tabletop and a live leaderboard. Those examples show the room model in use. Public evidence from large independent deployments, package-specific satisfaction surveys, and comparative benchmarks remains limited.
- **Safe: 7.9** (likely 6.6 to 9.2)
  - Claude Opus 5.5 (7.5): It has one runtime dependency, an ISC licence and no OSV advisories, and Cloudflare publishes it from a repo with a security policy. There is no OpenSSF Scorecard data, so release hardening is not verified. Being 0.x also means minor versions can break code.
  - GPT-6.2 Sol (8.3): The core has one runtime dependency, nanoid, and a permissive ISC licence. The collector found zero OSV advisories, and the tagged release workflow is configured for npm trusted publishing and provenance. Scorecard coverage and the number of people who can authorize releases remain uncertain.

## Good

- A small API (onConnect, onMessage, broadcast, connection tags) hides the Durable Object WebSocket and hibernation boilerplate.
- Sibling packages in the same repo cover the full stack: partysocket for a reconnecting client, y-partyserver for Yjs, and hono-party for Hono routing.
- It pulls in one dependency, uses the ISC licence, has no known advisories, and Cloudflare owns the repository.
- Releases came often over the last year (83 GitHub releases), with changeset-based versioning.

## Bad

- It runs only on Cloudflare Workers and Durable Objects, so it ties your realtime layer to one vendor.
- It is still 0.x and the README calls it a work in progress. You must declare bindings and migrations in wrangler config by hand.
- No release since August 2026, and a batch of November bug reports (reconnection, typing, connection tracking) has no replies.
- There are few independent write-ups or benchmarks, and the docs are thinner than Socket.IO's or Liveblocks'.

## The numbers

- Downloads, 4 weeks: 8.8M
- In a year: ×19
- GitHub stars: 1.3k
- Commits, 12 months: 171
- Last npm release: Aug 2026
- Advisories, 24 months: 0
- Licence: ISC
- GitHub: https://github.com/cloudflare/partykit
- npm: https://www.npmjs.com/package/partyserver

The successor of PartyKit, which Cloudflare now keeps.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
