Understand the sled safety model and loss prevention
mainThe sled embedded database is designed around a safety model aimed at preventing specific undesirable situations (losses). Developers using sled should be aware of these potential failure modes to design their applications with appropriate error handling and redundancy.
Undesirable situations (Losses) to prevent:
- Data loss: Permanent loss of stored information.
- Inconsistent data access: Accessing data that is non-linearizable.
- Process crash: Unexpected termination of the database process.
- Resource exhaustion: Running out of storage or memory.