github.com/cilium/statedb@v0.3.2/doc.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  // The statedb package provides a transactional in-memory database with per-table locking.
     5  // The database indexes objects using Persistive Adaptive Radix Trees.
     6  // (https://db.in.tum.de/~leis/papers/ART.pdf)
     7  //
     8  // As this is built around an immutable data structure and objects may have lockless readers
     9  // the stored objects MUST NOT be mutated, but instead a copy must be made prior to mutation
    10  // and insertion.
    11  //
    12  // See 'example/' for an example how to construct an application that uses this library.
    13  package statedb