Skip to main content Link Menu Expand (external link) Document Search Copy Copied

orion-server GitHub

PR #491 Allow issuing cert with URI instead of IP
testing This is used by Orion's benchmark to issue certificates for the servers. Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Created At 2023-02-02 13:50:03 +0000 UTC
PR #490 Use lock-free map for LevelDB
performance - Replacing map with sync.Map - Caching DB snapshot after commit to avoid creating a snapshot for each Get operation - Modifying cache to return byte array to avoid code duplication - Remove Db lock because levelDB is already protected - Reduce code duplication in Open() Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Created At 2023-01-30 14:58:42 +0000 UTC
PR #489 Perform mvcc read validation in parallel
performance The current implementation goes over each read operation- one by one- and validates if it was already written in this block and if the read version matches the current version. The current design avoids redundant reading of keys' versions by checking first if previous pending operations overwrote this key. But this enforces a sequential implementation. Instead, this PR takes an eager, optimistic approach. We assume that conflicts are rare, so we eagerly read all keys' versions in parallel and check if the version matches. Then, if all is OK, we continue to check the operations one by one to see if one operation invalidates another. This removes the bottleneck caused by the expensive version read operation. Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Created At 2023-01-29 13:48:14 +0000 UTC