loro/crates/loro-framework/README.md

11 lines
652 B
Markdown
Raw Normal View History

2022-07-13 09:52:25 +00:00
# Loro Framework
The layers of loro:
2022-07-15 10:24:15 +00:00
- Loro Framework(this crate): It is agnostic to the op content. Thus intermediary nodes can work on this layer. It can handle apply updates, encode updates, hash and authentication.
- The change content is byte stream in this layer (may be encrypted).
- If it's encrypted, the public key is accessible for the intermediary nodes
- Encoding & Decoding layer(this crate). This layer also handle encryption and decryption
2022-07-13 09:52:25 +00:00
- CRDT Framework(loro-core crate): It is agnostic to the specific CRDT algorithms. We can register different CRDT algorithm upon it.
- Specific CRDT Algorithm(loro-text, loro-array crate).