Comments (1)
Yorkie Server follows a specific approach when editing a Document.
It first stores all the changes that occur during document editing
in the changes
collection. Then it stores the last change to server_seq
in the "documents" collection. This storage process does not execute queries into transactions, to reduce the load on the database.
Even if the storage process encounters failures, the server_seq
stored in the documents
collection remains unaffected. When other requests attempt to load changes or save further changes, they operate based on server_seq
in the documents
collection. If necessary, these requests may overwrite the changes
.
from yorkie.
Related Issues (20)
- Replace Text.select with Presence HOT 8
- Move Client.Watch inside Client.Attach and hide it from external interface HOT 2
- JS SDK v0.4.5 causing excessive WatchDocument requests and server v0.4.4 instability HOT 6
- Suggest to add `PushPull` benchmark test
- Handle Presence Cleanup in Housekeeping Process
- Prevent exposing innerpresence to users
- Extract Room(or Channel) from Document
- Enhancements for Element Selection and Multi-level Node Traversal in Tree.Edit
- Change 'Documents' from plural to singular in DocEvent HOT 4
- GitHub Actions: All Actions will run on Node16 instead of Node12 by default
- GitHub Actions: Replace matrix strategy with environment variable
- Add Tree.Edit benchmark HOT 2
- Another approach to mitigate split-brain of a long-lived connection HOT 2
- Add a feature to Tree that allows the removal of attributes from elements HOT 1
- Introduce broadcast API for event sharing HOT 5
- Add toJS to return TreeNode of Tree HOT 1
- Add Tree.move
- Tree.edit performance improvements HOT 2
- Concurrent formatting do not work HOT 1
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 yorkie.