Documentation

VLite 0.7.0 upgrade and rollback

VLite 0.7.0 adds a key-value store, agent memory, an opt-in directory store, graph expiry, bounded graph algorithms and optional managed embedding and ranking providers.

It follows 0.6.1. The additions are embedded Rust APIs, local shell and MCP tools, and REST and gRPC key-value and provider operations, plus agent memory over REST with clients, a command line and MCP tools. Valid existing files open as before and new files are written as before. New stores and application-facing operations need explicit use or setup. Exact SIMD scoring, filter-summary pruning and the fixes below apply automatically, and search hits and distances stay unchanged. Rust code that matches GraphChange exhaustively needs a new arm, and code that uses the generated grpc types has further source changes (see Compatibility). Measured speed results are in Benchmarks; this release makes no size claims.

What is new

Key-value store

Keep values under namespaced string keys, with no vector.

Agent memory

Agent memory stores remembered entities and episodes in a graph and recalls them with bounded, ranked retrieval. It is off by default: the server needs a private bindings file, and the clients, the command line and the MCP tools below call it.

Directory store (opt-in)

Keep a database as a directory, so that reopening loads a checkpoint image and replays only the active log instead of the whole history.

Graph expiry (TTL) and change feeds (embedded Rust API)

Bounded graph algorithms (embedded Rust API)

GraphRef::algorithm runs one algorithm on one explicit local scope: degree counts, hop-constrained weighted shortest paths, PageRank, label propagation or sampled betweenness. The scope is a bounded set of seed nodes with a direction, relationship types, labels and edge conditions. Work, scratch memory and iterations are capped (defaults 100,000 vertex operations, 64 MiB, 20 iterations and 16 sampled sources; ceilings 1,000,000, 256 MiB, 100 and 64), edge reads, the deadline and cancellation stay bound by the existing graph limits, and expiry is read at one clock. Results describe the local scope, not the whole graph, echo the view sequence, read clock and normalized request, report separately whether the scope and the computation completed, and nothing is stored or written. REST, gRPC, MCP, query text, the graph CLI and the bindings do not expose algorithms. See Property graphs.

Managed embedding providers and custom ranking (REST and gRPC)

Choose an embedding or ranking provider by alias, once an administrator has set it up.

Exact search kernels (results unchanged)

Approximate search: opt-in background rebuild (Rust)

Database::set_background_hnsw_rebuild, and the same method on CollectionMut, lets a full mutation buffer start a background rebuild instead of blocking the next query: searches keep using the current index plus an exact scan of the changed records until the replacement is published. Before the first matching index exists, ordinary approximate queries scan exactly, while the ready-only APIs still return their missing-index error and never start work. A slow rebuild can let the set of changed records grow past the usual 256-ID and 8 MiB limits, which costs memory and exact-scan time instead of discarding the ready index, and errors are returned, never hidden by an inline build. The option is off by default, applies to one handle and is not persisted, so set it again after reopening. No REST setting or request field was added. See Background HNSW rebuilds.

Fixed

Benchmarks

The DO-005 campaign measured release candidate 30901be1, the integration head with a green full CI run, against v0.6.0 and v0.6.1. It used the unchanged graph_baseline.py reference profile (five runs per workload and revision) on identical Azure Standard_D16s_v5 VMs, and 90 of 90 slots passed the unchanged background-CPU gate; none was discarded or retried. At 100,000 × 384 dimensions, against v0.6.0:

The commits after 30901be1 add server adapters, tools, clients and documentation, restore two 0.6.1 default behaviors (the number text of embed responses, and browse observing flusher health once), and change only the filter-summaries path of collections that declare a metadata index. Nothing else on the paths the campaign measured changed: the single-file store, exact and HNSW search, ingest and reopen. Two functions outside those workloads gained a hook for the server's reserved-resource checks: collection creation takes a flag that is false everywhere else, and graph batch planning and retrieval take a visibility test that always answers yes everywhere else. The supplemental figures for indexed filters below come from revision 58b18194, which contains the filter-summary change. This is not a new benchmark of the release revision.

A supplemental run on the same VM configuration measured what that profile does not exercise (435 measured slots; 432 passed the same unchanged gate and 3 failed it, so they are kept out of the medians). Medians of five runs, on the release candidate:

Full tables, per-run CPU and method · raw runs · supplemental tables · supplemental raw slots · DO-005 baseline · published results. These are measured values on one host type, not performance guarantees.

Upgrade

Back up and verify checksums first. Replace the binary or image with 0.7.0 and restart. No file upgrade, setting or data migration is needed: existing files open as before and are never converted in place. Follow the usual single-writer rule: stop the old process (or scale the old revision to zero replicas) before the new one opens the file.

These application-facing operations and storage modes need explicit use or setup, and change nothing until you use them:

Exact SIMD scoring and filter-summary pruning apply automatically and leave search hits and distances unchanged; summaries can lower SearchStats::records_scanned. The fixes above apply automatically too. Rust code that matches GraphChange exhaustively needs a new arm, and code that uses the generated grpc types has further source changes (see Compatibility).

Rollback

Restart with the 0.6.1 binary or image. 0.7.0 writes nothing that 0.6.1 cannot read unless you used one of these:

If you configured managed providers, also remove --providers-file or VLITE_PROVIDERS_FILE from the startup arguments and environment, because 0.6.1 has no providers file. Stop clients from calling EmbedText, custom reranking and the key-value operations as well, because 0.6.1 does not serve them. Key-value entries are ordinary records, so 0.6.1 still opens the file and reads them as records of a one-dimension collection.

If you configured agent memory, also remove --memory-bindings-file or VLITE_MEMORY_BINDINGS_FILE and stop clients from calling the memory routes, because 0.6.1 does not serve them. Memory data is an ordinary graph and evidence collection, which 0.6.1 opens without any reservation: every credential with ordinary access can then read them. Move or delete that data first if that matters.

Compatibility

Not included in this release

These are private, test-only, gated, parked or design-only. They are not available, and you should not rely on them. Size-driven work is parked for 0.7.0 as best effort: the release does not wait for it and makes no size claims.

View or edit this page on GitHub ↗