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.
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);
}
});
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.
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.
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.
Use Swytch Cloud to roll a cluster – or a single node – back to any retained period in time.
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.
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.
Start a local instance, connect your Redis client, and try an interactive transaction.
Open source under AGPL-3.0.