2.8M docs/sec inserts with AEGIS-128L encryption

ALOS DB

High-performance document database with sharded B-tree indexes, MVCC transactions, and mandatory AEGIS-128L authenticated encryption on every packet.

165K ops/sec reads at full encryption
main.go
package main

import (
    "log"
    "github.com/guno1928/alosdbclient"
)

func main() {
    db, err := alosdbclient.Connect("localhost:6900",
        alosdbclient.WithCredentials("admin", "secret"),
        alosdbclient.WithDatabase("myapp"),
    )
    if err != nil { log.Fatal(err) }
    defer db.Close()

    users := db.Collection("users")

    users.InsertOne(alosdbclient.Document{
        "name":  "Alice",
        "email": "alice@example.com",
        "age":   30,
    })
}
B-Tree Indexes
256 Shards
LZ4 Compression
MessagePack
MVCC
AEGIS-128L

Everything you need, nothing you don't

Sharded storage, B-tree indexes, MVCC transactions, hot caching, encrypted networking, and backup management in a single compiled Go binary.

Numbers that speak for themselves

2.8M docs/s
InsertMany throughput
165K ops/s
Read operations
ACID
Transaction guarantees
256
Concurrent shards

Complex queries stayed fast across 5 full-suite runs

Collected on April 17, 2026 across 5 uninterrupted hit-suite and 5 miss-suite runs against discordlogs.messages at 15,989,500 documents. All 800 complex query cases stayed under the 15 ms target.

400 stable hit cases, 2,000 of 2,000 executions passed

Positive-match coverage includes nested boolean composition, wide payloads, time windows, reply-state checks, exact identity bundles, and concurrency fan-out variants.

Average2.034 ms
P501.548 ms
P954.605 ms
P996.037 ms
Max7.643 ms
Target<15 ms

400 stable miss cases, 2,000 of 2,000 executions passed

Negative-path coverage includes impossible identities, payload-heavy fan-out misses, phantom metadata checks, tight time windows, and concurrent false-branch execution.

Average0.350 ms
P500.000 ms
P951.518 ms
P992.618 ms
Max3.573 ms
Target<15 ms

Most complex hit queries that still stayed under the SLA

Real message IDs, channel names, usernames, dates, booleans, and regex prefixes from the benchmark report. Long $in lists shortened for readability.

Most complex miss queries that still stayed under the SLA

Real negative-path examples with true guild, channel, and author anchors layered with fake IDs, usernames, and metadata checks.

Start building in minutes

Run the compiled server binary, install the Go client library, and have a fully functional document database with ACID transactions in under 10 lines of code.

Read the Docs View Benchmarks