Published OnMay 9, 2025May 9, 2025

Introducing System-Wide Deletes with Automatic Eviction

Starting today, we're improving the way that system-wide deletes work in Ditto, giving you a cleaner, faster way to manage data that simplifies your data lifecycle. Now, you can delete once, and Ditto will sync and evict automatically.

Permanently deleting data is now just one command away. Ditto’s new system‑wide deletes instantly remove a record from every device and the cloud, giving users the up‑to‑date view they expect while we quietly handle the housekeeping behind the scenes. This update makes deleting data in Ditto easier than ever, letting your team spend less time managing data and more on building great features.

What’s new and why it matters

  • Single command, full lifecycle. Use the new DQL DELETE statement to mark a document as deleted. Ditto syncs that change to every peer and the cloud.
  • Automatic eviction. Deleted data disappears from queries immediately. Ditto keeps a document tombstone so the delete can sync through the mesh, then removes the tombstone after the Time‑to‑Live (TTL) you configure. No manual eviction and no ghost data.
  • Consistency everywhere. Deletes benefit from the same peer‑to‑peer guarantees that power the rest of Ditto, so every copy of your data set stays in sync.

How it works

DELETE FROM orders WHERE _id = "order_123"

  1. Delete flag set. The document is marked as deleted and the change is synced to all connected peers.
  2. TTL countdown starts. A deletion timestamp is applied. Default TTLs are 7 days for the Edge SDK and 30 days for the Cloud Server.
  3. Auto‑eviction triggers. When the TTL expires, Ditto permanently removes the document.

Availability

Capability Edge SDK Version Cloud Server
DELETE keyword  4.10.0 or later HTTP API and Portal
Auto-eviction 4.10.0 or later Enabled on multi‑tenant clusters Rolling out on dedicated tenants & BYOC

⚒️ Auto‑eviction for Cloud Server is rolling out over the next few weeks. Contact Ditto Support to schedule an upgrade.

Next steps

  1. Upgrade your Edge SDKs to version 4.10.1 or later.
  2. Review the documentation for additional information, examples, and configuration

System‑wide deletes with auto‑eviction give you a cleaner, faster way to manage data through its entire lifecycle. Upgrade today and enjoy effortless data hygiene with Ditto.

Learn more in the Ditto Docs

Read more
May 29, 2025
Announcing A New Partnership with Internet Initiative Japan
by
Ryan Ratner
We’re excited to share some big news from across the Pacific: Ditto has entered into a marketing and implementation partnership with Internet Initiative Japan (IIJ), one of the most respected and well-established technology companies in Japan.
Announcement
Product
May 28, 2025
Ditto Acquires SuperOrbital
by
Adam Fish
Tammer Saleh
Scaling Ditto’s Cloud and Edge Infrastructure for Mission-Critical Deployments