Earlier quoted context omitted.
The same reason as ever. Not everyone wants to use the same runtime.
Sure, but now if my rust application isn't using tokio I have to include it as a new dependency because the author of this lib decided to use it as his async runtime? I'm not trying to be pedantic, but this split over async runtimes was what originally turned me off of rust years ago and it still seems to be an issue.
TurboKV: Insanely fast Rust key-value store
51–60 of 90 posts
Re: TurboKV: Insanely fast Rust key-value store
#52Earlier quoted context omitted.
The same reason as ever. Not everyone wants to use the same runtime.
Sure, but now if my rust application isn't using tokio I have to include it as a new dependency because the author of this lib decided to use it as his async runtime? I'm not trying to be pedantic, but this split over async runtimes was what originally turned me off of rust years ago and it still seems to be an issue.
Re: TurboKV: Insanely fast Rust key-value store
#53Earlier quoted context omitted.
The same reason as ever. Not everyone wants to use the same runtime.
Sure, but now if my rust application isn't using tokio I have to include it as a new dependency because the author of this lib decided to use it as his async runtime? I'm not trying to be pedantic, but this split over async runtimes was what originally turned me off of rust years ago and it still seems to be an issue.
Re: TurboKV: Insanely fast Rust key-value store
#54Earlier quoted context omitted.
Sure, but now if my rust application isn't using tokio I have to include it as a new dependency because the author of this lib decided to use it as his async runtime? I'm not trying to be pedantic, but this split over async runtimes was what originally turned me off of rust years ago and it still seems to be an issue.
I’ve had the same reaction. We’ve seen this play out in other language eco-systems (Java - JAXP, javax.validation, JPA, etc all ended up with a de facto single implementation) and the idea of pluggable implementations sounds appealing but rarely pays off. The price that Rust paid for this abstraction - which in fact ended up not being useful as tokio is the only reasonable choice - was high in terms of requiring ugly…
It has absolutely paid off, there are many people not using tokio.
Re: TurboKV: Insanely fast Rust key-value store
#55Re: TurboKV: Insanely fast Rust key-value store
#56I suppose the insane speed is due to this: > TurboKV's persisted Bloom-filter format uses hardware AES. Also, built-in LZ4 compression. I would expect SIMD to be used for scans.
Re: TurboKV: Insanely fast Rust key-value store
#57Earlier quoted context omitted.
Sure, but now if my rust application isn't using tokio I have to include it as a new dependency because the author of this lib decided to use it as his async runtime? I'm not trying to be pedantic, but this split over async runtimes was what originally turned me off of rust years ago and it still seems to be an issue.
I’ve had the same reaction. We’ve seen this play out in other language eco-systems (Java - JAXP, javax.validation, JPA, etc all ended up with a de facto single implementation) and the idea of pluggable implementations sounds appealing but rarely pays off. The price that Rust paid for this abstraction - which in fact ended up not being useful as tokio is the only reasonable choice - was high in terms of requiring ugly…
Re: TurboKV: Insanely fast Rust key-value store
#58Earlier quoted context omitted.
I said elsewhere this doesn't survive a power loss.
While it’s important to make this explicit, at what point do we just assume a high-reliability UPS is table stakes? Of course, if you need SIL2 type reliability then you need to assume any given hardware component can spontaneously combust and become a total loss, at which point the data loss caused by a power cut is a rounding error.
Re: TurboKV: Insanely fast Rust key-value store
#59Off topic, but why is tokio still independent of the rust async runtime? It seems pretty ubiquitous yet not a part of the core rust libs.
Re: TurboKV: Insanely fast Rust key-value store
#60Every programmer eventually creates own db: https://github.com/antonmedv/medb