Company
Date Published
Author
Max Alexander
Word count
1169
Language
English
Hacker News points
None

Summary

Ditto is a versatile platform designed to function as both a local and a syncing database, offering developers the flexibility to use it in various applications without necessitating network configurations. It supports seamless document storage and retrieval using programming languages like Swift and Android, with the capability to run live queries on local instances. Users can operate multiple Ditto instances simultaneously, catering to distinct needs such as local data storage or data synchronization across devices. While Ditto excels in replication and mesh networking, it currently lacks features like indexing and non-CRDT serialization, although these are under development. The platform's JavaScript SDK is limited to in-memory operations in web browsers, but persistent storage is available in NodeJS and Electron environments. Ditto powers applications like Vaxx, a vaccine card app with 55,000 users, showcasing its functionality as a local database. Despite some feature gaps compared to databases like SQLite, Ditto is focusing its engineering efforts on enhancing replication performance and mesh networking capabilities.