Using Firebase or another DB to organize collaborative work

Hello. Is it possible to organize collaborative work in real time with Firebase or another DB. I would like to sync my Yjs document state between users. Will it work fast enough to visualize all changes in real time ? Or it’s better(faster) to use websockets ?

Hi @Putyahin

Please have a look at this answer https://github.com/yjs/yjs/issues/189

Personally, I believe that Firebase is unsuited and too expensive for Yjs. It is cheaper to setup your own websockt server. But I understand that it would be more convenient to use an existing / maintained backend.

Thank you for your advice !