Skip to content

Surprisingly slow write throughput #72

Closed Answered by marvin-j97
dbbnrl asked this question in Q&A
Discussion options

You must be logged in to vote

I feel like I must be doing something fundamentally wrong or misunderstanding the intended use-cases of the crate. Any thoughts?

First off, reproduction I got, just to confirm:

ReDB: 28s, ~2GB max memory, ~5GB disk space
Fjall: 686s, ~700 MB max memory, 206 MB disk space (your values are all the same so compression is absurdly effective here)

First off, ReDB is written to using a single write transaction per writer. From what I can gather (and looking at the memory usage), it buffers the entire transaction in memory, then writes it out to disk, all sorted. That's possible because it is limited to a single writer, so nothing tampers with the disk file. Because we're just bulk loading da…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dbbnrl
Comment options

@marvin-j97
Comment options

@marvin-j97
Comment options

Answer selected by dbbnrl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants