TurboKV: Insanely fast Rust key-value store
81–90 of 90 posts
Re: TurboKV: Insanely fast Rust key-value store
#82Every programmer eventually creates own db: https://github.com/antonmedv/medb
Yep. I made a simple one in Bash even! (Do not recommend.)
Re: TurboKV: Insanely fast Rust key-value store
#83Most of these "insanely fast" projects kind of feel like people rediscovering compiled languages after the scripting languages dark ages. Insanely fast was making 8 bit games possible at all.
Re: TurboKV: Insanely fast Rust key-value store
#84> DbOptions::durable() > Appended to the WAL without a per-write sync So… it’s not durable? Durable doesn’t mean “survives a process restart”, it means “durably saved to persistent storage”. For example, this “durable” mode wouldn’t survive power loss.
Absolutely. If they just dirty some pages in memory and return back to the client the benchmarks will look "insanely fast". I have nothing against this being a non-default option in a db/kv engine but anything advertising to be durable and not fsyncing by default is something I would stay away from. To me it's like a litmus test of how well the author knows/cares data durability and not destroying users data.
Re: TurboKV: Insanely fast Rust key-value store
#85Re: TurboKV: Insanely fast Rust key-value store
#86Re: TurboKV: Insanely fast Rust key-value store
#87If not, please just link the repo and its own title, no need for hype.
Re: TurboKV: Insanely fast Rust key-value store
#88> DbOptions::durable() > Appended to the WAL without a per-write sync So… it’s not durable? Durable doesn’t mean “survives a process restart”, it means “durably saved to persistent storage”. For example, this “durable” mode wouldn’t survive power loss.
Re: TurboKV: Insanely fast Rust key-value store
#89> DbOptions::durable() > Appended to the WAL without a per-write sync So… it’s not durable? Durable doesn’t mean “survives a process restart”, it means “durably saved to persistent storage”. For example, this “durable” mode wouldn’t survive power loss.
Re: TurboKV: Insanely fast Rust key-value store
#90Most of these "insanely fast" projects kind of feel like people rediscovering compiled languages after the scripting languages dark ages. Insanely fast was making 8 bit games possible at all.
More or less. I think the use of CPU specific instructions can make an compiled program different than "the rest". Although nowadays some compilers are clever enough to do better than manual optimization.