🔒 Distributed Locks
Create mutex or read/write locks with timeouts and automatic deadlock detection
🔒 Distributed Locks
Create mutex or read/write locks with timeouts and automatic deadlock detection
🔑 Key/Value Store
Create namespaces, manage keys with TTLs, and perform atomic compare-and-swap operations
🚀 Memory Regions
Allocate large byte arrays up to 128GB with NVMe-oF backend for high throughput
⚡ High Performance
P99 latencies under 10ms for key/value ops, 20ms for locks, 5ms for memory I/O
All operations maintain linearizable consistency via Raft consensus.
Start with our fully-managed cloud service:
# Sign up for free Developer tier (1 GiB RAM, 1M ops)pip install primatomic
Note: Self-hosted deployment options will be available in future releases.
import primatomic
# Connect to Primatomic Cloudclient = primatomic.Client("your-workspace.primatomic.com:443", jwt_token="your-api-token")
# Key-value operations with linearizable consistencyclient.put_key("app", "user:123", b'{"name": "Alice"}')user_data = client.get_key("app", "user:123")
# Distributed coordinationwith client.lock("app", "payment-processing"): # Critical section - only one service can execute this process_payment(user_id)
# High-performance memory regionsclient.allocate_memory("cache", "shared-buffer", 1024*1024)client.write_memory("cache", "shared-buffer", 0, b"fast access data")
Tier | Monthly Fee | RAM Included | Ops Included |
---|---|---|---|
Developer | Free | 1 GiB | 1M |
Starter | $49 | 10 GiB | 10M |
Growth | $199 | 50 GiB | 50M |
Scale | $799 | 256 GiB | 250M |
Enterprise | Custom | ≥1 TiB | ≥1B |
Memory Regions: Large byte arrays (up to 128GB) backed by NVMe-oF with direct I/O for high throughput
Operations: Billable API calls including key/value ops, lock acquire/release, and memory I/O
Namespace: Multi-tenant isolation boundary with separate data, locks, and billing
Raft Consensus: Distributed algorithm ensuring strong consistency and fault tolerance across cluster nodes
Ready to build? Start with our free tier →