slate-collaborative
slate-collaborative copied to clipboard
About cluster related issues
trafficstars
If I have mulitple backend server, how can I sync the docment state between them. Use redis pub/sub, or other?
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.
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.