Hacker News new | ask | show | jobs
by youngbum 34 days ago
Huge fan of Hocuspocus. Congrats on the new release and grateful for your efforts.

We have been using Hocuspocus to sync multiple users in our form builder editor (https://walla.my), and they were very reliable and sturdy. We not only write descriptions with TipTap but also sync the fields and logic itself.

Actually, the previous version was eligible to build and deploy with Bun though. We did also try to deploy them on Cloudflare infrastructure but… as you know, Cloudflare workers were not built for Hocuspocus. We also tried Cloudflare Containers, but they weren’t as reliable as just spinning up a small VM.

1vCPU and 1GB RAM were enough to synchronize about 3,000 users.

One small claim is the yjs ecosystem itself. The docs are fragmented, and the nature of y”JS”, locks the whole code into Javascript infrastructure. Hocuspocus might have well ported into more secure and memory-safe, faster infra, modern stacks like Go or Rust if yjs compatible were in other languages.

Anyways, great work and we will definitely take a look at the new release. Again, thanks for sharing.

2 comments

Awesome to hear you're using Hocuspocus in production! Yjs can indeed be hard to understand well, but when used together with Tiptap it's as easy as adding an extension to your editor :-) We're running Hocuspocus in small docker containers in swarm clusters, which makes it super cheap to run.
Yjs has a bunch of ports to other languages (including rust, python, and go). They are maintained in the Y-CRDT org.