Getting Started

Coming Soon

This page is under construction. Detailed getting started documentation will be available in an upcoming release.

Overview

DbSync is an ultra-high-performance shared-nothing key-value engine written in C++20. It leverages Linux io_uring for asynchronous I/O and a thread-per-core architecture to deliver predictable sub-millisecond latencies at scale.

Key highlights:

  • 394,000+ ops/sec on an 8-vCPU instance
  • P99 latency under 0.4ms — even under load
  • Zero-copy networking via io_uring
  • Redis protocol compatible — drop-in replacement for most workloads

Quick Start

The fastest way to get started is with Docker. The image is only 28.62 MB compressed, built on Ubuntu 24.04.

# Pull the image
docker pull ayushv1/dbsync:latest

# Run the server
docker run -d --name dbsync -p 6379:6379 ayushv1/dbsync:latest

Image details:

  • Registry: Docker Hub — ayushv1/dbsync
  • OS/Arch: linux/amd64
  • Compressed size: 28.62 MB
  • Digest: sha256:4ee3786d2b03fbf18c336b3891b0941e554387bc24576077b9578047b193c953

Build from Source

# Compile with maximum optimization
g++ -std=c++20 -O3 main.cpp -o DbSync -luring -pthread

# Run the server
./DbSync

You can connect using any Redis client:

redis-cli -p 6379
127.0.0.1:6379> SET hello world
OK
127.0.0.1:6379> GET hello
"world"

Full Documentation Coming Soon

Detailed installation guides, Docker setup, configuration, and client library examples will be added in a future update. In the meantime, check out the available pages:

  • Commands — See the currently implemented commands
  • Benchmarks — Performance data and comparisons