PartyServer
Reasonable, with limits. 9th of 10 realtime and collaboration.
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
Overall6.6
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- npm latestVersion: 0.5.10, still pre-1.0
- peers Socket.IO / Hocuspocus: Peers have broader use and runtime reach
- github.com/cloudflare/partykit: README calls it a work in progress
GPT-6.2 Sol: 7.2, likely 6.1 to 8.3
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.
- zachsimms.com/typescript/realtime/fundamentals: Independent comparison places PartyServer between self-managed sockets and managed realtime services.
- socket.io/docs/v4: Documents acknowledgements, reconnection, and deployment across multiple servers.
- tiptap.dev/docs/hocuspocus/server/extensions/overview: Hocuspocus supplies database and scaling extensions for Yjs servers.
- github.com/cloudflare/partykit/issues/430: Current release has an open broadcast regression report with hibernation off.
- npm latestPublishedAt, peers: PartyServer last shipped in August, while Socket.IO and Hocuspocus released more recently.
Needed by many3.4
How many developers need a tool for this job?
Claude Opus 5.5: 3.0, likely 2.0 to 4.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.
- github.com/cloudflare/partykit: Built for Durable Objects; lists the sibling packages
- cdn.jsdelivr.net/npm/partyserver@0.5.6/README.md: Server class extends DurableObject; bindings go in wrangler config
GPT-6.2 Sol: 3.8, likely 2.8 to 4.9
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.
- github.com/cloudflare/partykit/blob/main/packages/partyserver/README.md: Room-based WebSockets built on Durable Objects.
- 2025.stateofjs.com/en-US/other-tools: 1,702 respondents reported regular Cloudflare Workers use in the edge and serverless question.
Helps a lot6.7
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- cdn.jsdelivr.net/npm/partyserver@0.5.6/README.md: Feature set and listed caveats
- github.com/cloudflare/partykit/issues: Open bugs in partysocket, connection tracking and y-partyserver
- npm hasTypes: Ships its own types
- blog.partykit.io/posts/partyserver-api: Maintainer's write-up of the API design
GPT-6.2 Sol: 7.4, likely 6.3 to 8.5
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.
- github.com/cloudflare/partykit/blob/main/packages/partyserver/README.md: Documents room routing, lifecycle hooks, broadcasting, and Wrangler setup.
- npm hasTypes: Type declarations ship with the package.
- github.com/cloudflare/partykit/blob/main/packages/y-partyserver/README.md: Separate Yjs provider and server with onLoad and onSave hooks.
- github.com/cloudflare/partykit/issues/430: Open report of a reconnected client missing broadcasts on 0.5.10 with hibernation off.
- github.com/cloudflare/partykit/issues/429: Open report of a socket staying in CLOSING on 0.5.10 with hibernation off.
Holds up over time6.4
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 4.0 to 7.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.
- github commitsLastYear / releasesLastYear: 171 commits, 83 releases in the last year
- github pushedAt: Last push 2026-08-03, over three months ago
- github.com/cloudflare/partykit/issues: Many recent issues with no comments
- registry.npmjs.org/agents/latest: Latest agents release does not list partyserver as a dependency
- blog.cloudflare.com/cloudflare-acquires-partykit: Cloudflare acquired PartyKit and its team
GPT-6.2 Sol: 6.7, likely 5.3 to 8.0
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.
- npm versionsLastYear, npm latestPublishedAt, github commitsLastYear: 27 package versions, 171 monorepo commits, and a release gap of more than three months.
- blog.partykit.io/posts/hosted-platform-shutdown: Cloudflare directs new projects to PartyServer and documents the hosting transition.
- github.com/cloudflare/partykit/blob/main/packages/partyserver/CHANGELOG.md: Recent core changes repeatedly credit the same maintainer.
- github.com/cloudflare/partykit/issues/329: Same-day response and an alarm fix offered five days after the report.
- github.com/cloudflare/partykit/issues/430: November reconnect and broadcast report remains open.
Used widely4.6
How many use it, and is that growing?
Claude Opus 5.5: 4.0, likely 3.0 to 6.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.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 8.8M vs 0.47M a year ago
- github stars: 1,316 stars, far below Socket.IO and Yjs
- bluesky posts: 0 posts linking the repo
- registry.npmjs.org/agents: Agents SDK versions depended on partyserver, which inflates downloads
GPT-6.2 Sol: 5.1, likely 3.4 to 6.6
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.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: 8.82 million versus 473,479 installs, or 18.6 times year over year.
- github stars, bluesky posts, dependents: 1,316 shared repository stars, zero matched Bluesky posts, and no ecosyste.ms count.
- app.unpkg.com/agents%400.5.1/files/package.json: A published Cloudflare Agents version lists PartyServer as a dependency.
- github.com/cloudflare/agents/blob/main/NOTICE: The current Agents source carries and adapts PartyServer code.
- javascripts.com/packages/partyserver: A separate snapshot lists 18 npm package dependents and covers a different population from ecosyste.ms.
Vouched for4.9
Who stands behind it being good?
Claude Opus 5.5: 4.0, likely 3.0 to 6.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.
- blog.cloudflare.com/cloudflare-acquires-partykit: Cloudflare backs the project
- ably.com/compare/ably-vs-partykit: Only comparison found, and it is written by a competitor
- hackerNews stories: One story with 1 point
GPT-6.2 Sol: 5.8, likely 4.4 to 7.1
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.
- github.com/cloudflare/agents/blob/main/NOTICE: The publisher’s Agents SDK incorporates and adapts the server implementation.
- github.com/hansy/drawspell: Independent tabletop app documents PartyServer as its Yjs and room backend.
- reddit.com/r/MultiplayerGameDevs/comments/1pwf7k3/multiplayer_using_partykitpartyserver: Game developer reports a deployed leaderboard and describes the migration friction.
- github.com/harshanandak/Product-Suite/blob/main/docs/plans/tech-stack-evaluation-2026-06-12.md: Independent architecture evaluation selects the room layer for Cloudflare and Hocuspocus for self-hosting.
Safe7.9
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.0 to 9.0
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.
- npm dependencies: 1 dependency
- advisories total: No known advisories
- scorecard: No Scorecard data
- github.com/cloudflare/partykit: Security policy and CI workflows present
GPT-6.2 Sol: 8.3, likely 7.1 to 9.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.
- advisories total, scorecard: Zero recorded OSV advisories and no collected Scorecard assessment.
- github.com/cloudflare/partykit/blob/partyserver%400.5.10/packages/partyserver/package.json: Tagged package declares ISC and one runtime dependency.
- github.com/cloudflare/partykit/blob/partyserver%400.5.10/.github/workflows/release.yml: Cloudflare’s release workflow uses GitHub Actions with trusted publishing and provenance configured.
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
- npm downloads, 4 weeks
- 8.8M ×19 in a year
- GitHub stars
- 1.3k
- Commits, 12 months
- 171
- npm version
- 0.5.10 Aug 2026
- Versions, 12 months
- 27
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- ISC
The successor of PartyKit, which Cloudflare now keeps.
Read on 21 November 2026 from GitHub (cloudflare/partykit), npm (partyserver), OSV and the OpenSSF Scorecard.
Realtime and collaboration
- 8.2Yjs
- 7.9Socket.IO
- 7.8Hocuspocus
- 7.8ws
- 7.5Liveblocks
- 7.1Ably SDK
- 7.1Automerge
- 7.0Loro
- 6.6PartyServer
- 6.6Pusher SDK