What is the most stable persistence for v13?

I see a y-redis repository that has been updated in the last couple of months. Does it work with v13 of yjs, and is it considered stable (can I ignore the construction workers yet :)?

If not, is there another project that is considered a good way to persist state for now? I’m not particular about the database or file system.

Redis is not well suited to persist data, because it holds all data in-memory. When the server runs out of memory, keys will get evicted. It is more meant to scale the backend to many instances using Redis as a shared hub.

At the moment you have to persist the data yourself. This should be pretty simple. If you create a ticket in the y-websocket repository, I’ll write some documentation this week.

3 Likes