SwytchDB features

Make your data effortless

Swytch works the same from one node to thousands of nodes, whether it's an edge deployment or in the cloud.

Open source under AGPL-3.0.

Redis, but with interactive transactions

Read data, branch in your application’s language, and commit updates across multiple keys in a serializable transaction, no matter how many nodes you have. There's no slots to rebalance, no hashing strategy. Just write code that works. No lua required.

Interactive mode returns results as each command runs. Enable it with --ssi; keep one connection from MULTI through EXEC.

await db.transaction(async tx => {
  const stock = await tx.get("stock:demo");

  if (stock >= 3) {
    await tx.decrby("stock:demo", 3);
  }
});

Infrastructure failures are boring

Dynamically divide responsibilities between independent failure domains during a network partition. Each domain continues processing transactions with serializability enforced inside that domain. Swytch heals by determining a valid serializable order, or surfaces conflicts back to the application. No data is ever lost with Swytch because of a fail-over.

Design for network partitions →
  • One connected domain → shared coordination
  • Partitioned operation → independent domains
  • Connectivity restored → valid serializable order
  • Disconnected domains do not share a global serial order.

Data follows your users

Swytch's replication model keeps data where it is used, and if it gets accessed in a new location, the data follows. User sessions stay local to the user.

Explore demand-driven replication →
  • Frankfurt reads product:42.
  • Tokyo starts using product:42.
  • Replication follows use.

Leaderless

Every node accepts reads and writes. Applications can use a local endpoint without routing all work through a single elected primary.

No primary to promote.

A Time Traveling Database

Use Swytch Cloud to roll a cluster – or a single node – back to any retained period in time.

Explore effects and reconstruction →
  • 14:32 — Something went wrong.
  • 14:31 — Everything was working.
  • Restore to 14:31.
  • One node or the entire cluster.

Bring your Redis client.

Connect over RESP2 or RESP3 using a normal single-server connection. Keep familiar Redis data structures and tools.

Use default queued MULTI/EXEC behavior for Redis-style clients, or enable --ssi for interactive transactions. The compatibility guide maps supported commands and differences.

Familiar clients. A different distributed data system.

Put the database beside your workload.

Swytch is designed to run in the spare ram you over-provision your application with, providing truly local reads; or as a traditional deployment.

spec:
  template:
    metadata:
      annotations:
        swytch.getswytch.com/profile: app-cache

Attach a namespaced Swytch profile to your application’s Pod template.

Try it with your application.

Start a local instance, connect your Redis client, and try an interactive transaction.

Open source under AGPL-3.0.