slate-collaborative icon indicating copy to clipboard operation
slate-collaborative copied to clipboard

About cluster related issues

Open jinyang1994 opened this issue 5 years ago • 2 comments
trafficstars

If I have mulitple backend server, how can I sync the docment state between them. Use redis pub/sub, or other?

jinyang1994 avatar Aug 07 '20 01:08 jinyang1994

Hi @jinyang1994

This is an interesting point!

Could you attach more details about your case? I think the simplest solution was to extend the SocketIOConnection class to set new data in the automerge backend when the db data changes.

cudr avatar Aug 13 '20 09:08 cudr

I use multiple servers(or serverless) to share the pressure, but want to ensure that the document status between multiple servers is synchronized, which contains information such as cursor position, document content, etc.

jinyang1994 avatar Sep 17 '20 08:09 jinyang1994