Ditto is a revolutionary embedded database tailored for mobile and edge computing devices, transcending conventional local storage solutions. Unlike standard embedded databases that function independently, Ditto features integrated peer-to-peer synchronization and edge-aware connectivity, allowing devices to exchange data seamlessly without the need for a central server or continuous internet availability.
At the heart of Ditto lies a CRDT-based (Conflict-Free Replicated Data Type) engine, which ensures robust eventual consistency across distributed nodes, even in scenarios where devices are offline, partitioned, or primarily designed for mobile use. This capability enables developers to create highly resilient and collaborative applications, ensuring that data remains local while automatically syncing across devices as connectivity is established.
Ditto simplifies the intricacies of connectivity through dynamic, channel-agnostic discovery. Devices utilizing Ditto can form spontaneous mesh networks via Bluetooth, peer-to-peer Wi-Fi, LAN, cellular, or a combination of these technologies, enabling real-time synchronization of data changes.