My app is running in production and I would like to add collaborative tools with convergence.
Data is stored in a mongoDB database and I want to keep this single point of truth of data.
I don’t want to use convergence as a database but just as a collaborative server.
So I would like an auto clean of collections. The user at the beginning get the data from Mongo and init a collaborative session with the data.If a second user come, he will use the data from convergence sync.
The first user will be the master of data and initiate the saving to the mongoDB. If he lost connection, the second become the master, etc.
Do you think it’s an appropriate approach ?
I saw an “ephemeral” attribute to the model but I don’t know what it does. The Javadoc is empty about it. I tried it but after a restart of convergence, the data is again in the convergence database.