Comments (4)
from swellrt.
Yes, the clean up has to rely on the collaborative context instead of just a private area. My scenario is as follow:
-
There are two editors, when startup each editor will load its data from the previously auto saved medium (file/database).
-
After loaded the saved data, each editor then open the collaborative object so that both real time state are synchronized initially.
2.1. When the first editor open the collaborative object, it finds that it is new. It then initialize the collaborative object with the data it loaded.
2.2. When the second editor open the collaborative object, it isn't new so it has to refresh its own data from the collaborative object instead.
-
In my ideal case, when both editors finished with the collaborative object, the last editor realized it is the last user, then it either delete the collaborative object (seems currently no this option), or mark it as invalid, so the next user will initialize like step 2.1 does.
I'm not sure how JetPad is implemented, maybe it has no this problem because the collaborative object is used as the data storage medium as well. So there is no separating between the two. But if I were to separate data storage and real time object when no clean up is available, then in step 2.1 I'll have to load from the previously saved collaborative object again, which is unnecessary because it would be the same as the last auto-saved data. This is the reason why I would prefer a clean up mechanism.
from swellrt.
from swellrt.
No problem. Thank you very much :)
from swellrt.
Related Issues (20)
- Questions about logged in users or participants HOT 2
- Unable to run swellrt in docker HOT 1
- Not response from swellrt server in some cases HOT 1
- Restrict swellrt be served for my application only HOT 1
- How to know user of a particular id exists or not? HOT 2
- swellrt version and jetpad version HOT 2
- Editor customisation question HOT 3
- Memory leaking HOT 3
- stopShowDiffs function only available in dev build
- Maximum number of Clients (viewers) for Text editor HOT 5
- why requiring Java JDK 8 & MongoDB 3.2 HOT 2
- id postfix in open
- getObjectNames() to return object id as a single string HOT 2
- Service instable HOT 9
- Client error writing in a large object HOT 16
- How to activate annotations from the current caret positions HOT 1
- Server Exception on transformation precondition HOT 1
- Exception when working with large size data
- How to get the revision data of a specific version?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swellrt.