Better HN
topnewbestaskshowjobs
Log inSign up

erthink

9 karma · joined Aug 14, 2018 (8y ago) · 23 submissions

clip@dqdkfa.ru
Submissions

1.

Get(key) in libmdbx by up to x1000 using a lock‑free cache on top of a B‑tree(github.com ↗)

2 points · by erthink · 3mo ago · discuss

2.

Libmdbx chosen as storage backend for modern implementation of Ethereum in Rust(github.com ↗)

1 points · by erthink · 3y ago · discuss

3.

Even faster lower_bound() implementation, wanna benchmark on Apple M2(gitflic.ru ↗)

1 points · by erthink · 4y ago · discuss

comment 4y ago · link · parent

These issues partially solved in the libmdbx (a deeply revised and extended descendant of LMDB).

So BoltDB and LMDB affected users may switch to libmdbx as the Erigon (Ethereum implementation) does year ago https://github.com/ledgerwatch/erigon/wiki/Criteria-for-tran...

For now this is (relatively) easy since bindings for GoLang, Rust NodeJS/Deno, etc are available and the API is mostly the same in general.

---

The ideas that MDBX uses to solve these issues are simple: zero-cost micro-defragmentation, coalescing short GC/freelist records, chunking too long GC/freelist records, LIFO for GC/freelist reclaiming, etc.

Many of the ideas mentioned seems simple to implement in BoldDB. However the complete solution is not documented and too complicated (in accordance with the traditions inherited from LMDB ;)

5.

Libmdbx 0.9.2: One of the fastest embeddable key-value ACID database without WAL(github.com ↗)

2 points · by erthink · 6y ago · discuss

6.

Preliminary libmdbx C++ API – One of the fastest compact key-value ACID database(erthink.github.io ↗)

1 points · by erthink · 6y ago · 2 comments

7.

Nice check-spelling action for GitHub(github.com ↗)

2 points · by erthink · 6y ago · discuss

8.

Ask HN: Fast implementation of comparing arbitrary MsgPack messages?

1 points · by erthink · 6y ago · discuss

9.

Online API description of libmdbx 0.9 (one of the fastest key-value ACID engine)(erthink.github.io ↗)

2 points · by erthink · 6y ago · discuss

10.

Libmdbx 0.7 released, up to 20% faster than LMDB(github.com ↗)

1 points · by erthink · 6y ago · discuss

11.

Compact and fast double-to-string conversion

4 points · by erthink · 6y ago · discuss

comment 6y ago · link · parent

For now I found the Christopher Swenson's collection (https://github.com/swenson/sort) . This is more than nothing, but it is clearly not enough.

13.

Ask HN: What is good enough C/C++ benchmark suite for sorting algorithms?

1 points · by erthink · 6y ago · 1 comment

14.

Libmdbx is up to 20% faster than legendary LMDB(leo-yuriev.github.io ↗)

2 points · by erthink · 6y ago · discuss

15.

Libmdbx Is Enhanced Descendant of Lightning Memory-Mapped Database(github.com ↗)

2 points · by erthink · 7y ago · discuss

16.

Fastest Float-to-String Conversion(github.com ↗)

2 points · by erthink · 7y ago · discuss

17.

Rust Implementation of T1ha (Fast Positive Hash)(github.com ↗)

1 points · by erthink · 7y ago · discuss

18.

The fastest portable hash(habr.com ↗)

3 points · by erthink · 7y ago · discuss

comment 8y ago · link · parent

All improvements over LMDB are listed here = https://github.com/leo-yuriev/libmdbx#improvements-over-lmdb

comment 8y ago · link · parent

t1ha aka "Fast Positive Hash" - In most cases up to 15% faster than StadtX, xxHash, mum-hash, Metro-hash, etc.

Simple benchmark is included (git close && make). The quality and speed could be checked by Reini Urban's (https://github.com/rurban/smhasher) and Yves Orton's (https://github.com/demerphq/smhasher) forks of SMHasher suite.

Reasonable to note: t1ha have two injection points of each data word inside the loop of entropy sponge.

21.

T1ha: even more Faster and Better hash functions family(github.com ↗)

4 points · by erthink · 8y ago · 1 comment